alSeqpSetChlPriority (function)

alSeqpSetChlPriority, n_alSeqpSetChlPriority

Sets the priority for the given MIDI channel

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSeqpSetChlPriority(    ALSeqPlayer *seqp, u8 chan, u8 priority);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSeqpSetChlPriority(N_ALSeqPlayer *seqp, u8 chan, u8 priority);

Arguments

seqp
Pointer to the sequence player

chan
Target (zero-based) MIDI channel

priority
Priority for the MIDI channel

Description

alSeqpSetChlPriority sets the priority for the given MIDI channel. A value of 0 is lowest priority, and 127 is highest priority.

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

See Also

alSeqpGetChlPriority, alSeqPlayer

Revision History

1999/04/30 Changed Format