alCSPSetBank (function)

alCSPSetBank, n_alCSPSetBank

Specifies the instrument bank for the sequence player to use

Syntax

#include <libaudio.h>     /* libaudio.h */
void alCSPSetBank(    ALCSPlayer *seqp, ALBank *b);
#include <n_libnaudio.h>     /* n_libaudio.h */
void n_alCSPSetBank(N_ALCSPlayer *seqp, ALBank *b);

Arguments

seqp
Pointer to the compressed MIDI sequence player

b
Pointer to the instrument bank to use

Description

alCSPSetBank specifies which ALBank the sequence player should use when mapping MIDI notes to instruments. The bank must be loaded into RAM and initialized by calling alBnkfNew before being used by the alCSPSetBank function.

For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.

See Also

alBnkfNew, alCSeqPlayer

Revision History

1999/04/30 Changed Format