alCSPSetChlPriority (function)

alCSPSetChlPriority, n_alCSPSetChlPriority

Sets the priority for the given MIDI channel

Syntax

#include <libaudio.h>     /* libaudio.h */
void alCSPSetChlPriority(    ALCSPlayer *seqp, u8 chan, u8 priority);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alCSPSetChlPriority(N_ALCSPlayer *seqp, u8 chan, u8 priority);

Arguments

seqp
Pointer to compressed MIDI sequence player

chan
Target (0 based) MIDI channel

priority
Priority for the MIDI channel

Description

alCSPSetChlPriority 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

alCSPGetChlPriority, alCSeqPlayer, and alCSPSendMidi

Revision History

1999/04/30 Changed Format