alCSPGetChlFXMix (function)

alCSPGetChlFXMix, n_alCSPGetChlFXMix

Returns the effect mix for the given MIDI channel


#include <libaudio.h>     /* libaudio.h */
u8 alCSPGetChlFXMix(    ALCSPlayer *seqp, u8 chan);
#include <n_libaudio.h>     /* n_libaudio.h */
u8 n_alCSPGetChlFXMix(N_ALCSPlayer *seqp, u8 chan);


Pointer to compressed MIDI sequence player

Target (0 based) MIDI channel


alCSPGetChlFXMix returns the effect mix for the given MIDI channel. A value of 0 indicates that the sound is completely dry, and 127 indicates the sound is completely wet. Because messages generated by the alCSPSetChlFXMix function are not processed until the next call to alAudioFrame, a call to alCSPSetChlFXMix followed by a call to alCSPGetChlFXMix within the same frame will not reflect the new value.

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

See Also

alCSPSetChlFXMix, alCSeqPlayer

Revision History

1999/04/30 Changed Format