alSeqpGetChlPriority (function)

alSeqpGetChlPriority, n_alSeqpGetChlPriority

Returns the priority for the given MIDI channel

Syntax

#include <libaudio.h>     /* libaudio.h */
u8 alSeqpGetChlPriority(    ALSeqPlayer *seqp, u8 chan);
#include <n_libaudio.h>     /* n_libaudio.h */
u8 n_alSeqpGetChlPriority(N_ALSeqPlayer *seqp, u8 chan);

Arguments

seqp
Pointer to the Type 0 MIDI sequence player

chan
Target (0 based) MIDI channel

Description

alSeqpGetChlPriority returns the priority for the given MIDI channel. A value of 0 is the lowest priority, and 127 is the highest priority. Because channel priority isn't updated until the next call to alAudioFrame , a call to alSeqpSetChlPriority followed by a call to alSeqpGetChlPriority 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

alSeqpSetChlPriority

Revision History

1999/04/30 Changed Format