alCSPGetChlPriority (function)

alCSPGetChlPriority, n_alCSPGetChlPriority

Returns the priority for the given MIDI channel

Syntax

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

Arguments

seqp
Pointer to compressed MIDI sequence player

chan
Target (0 based) MIDI channel

Description

alCSPGetChlPriority returns the priority for the given MIDI channel. A value of 0 is lowest priority, and 127 is highest priority. Because messages generated by the alCSPGetChlPriority function are not processed until the next call to alAudioFrame, a call to alCSPSetChlPriority followed by a call to alCSPGetChlPriority 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

alCSPSetChlPriority

Revision History

1999/04/30 Changed Format