alCSPSetSeq, n_alCSPSetSeq
Sets the compressed MIDI sequence player's target sequence
Syntax
#include <libaudio.h> /* libaudio.h */ void alCSPSetSeq( ALCSPlayer *seqp, ALCSeq *seq);#include <n_libaudio.h> /* n_libaudio.h */ void n_alCSPSetSeq(N_ALCSPlayer *seqp, ALCSeq *seq);
Arguments
Description
alCSPSetSeq sets the compressed midi sequence player's target sequence as specified by seq, which must first be initialized.
The alCSPSetSeq function always resets the sequence tempo to 120 beats per minute.
If there is a bank associated with the sequence player, this function resets the sequence player's channel arguments. It uses the first instrument in the bank as the default program, and it uses that instrument's pan, volume, priority, and bend range for the channel parameter defaults. If the bank has a percussion instrument, that instrument is used for MIDI channel 10. The fx mix is set to AL_DEFAULT_FXMIX.
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
See Also
alCSeqNew, alCSeq, alCSPSetBank, and alCSeqPlayer
1999/04/30 Changed Format