alSndpSetPriority, n_alSndpSetPriority
Sets the priority of a sound
#include <libaudio.h> /* libaudio.h */ void alSndpSetPriority(ALSndPlayer *sndp, ALSndId id, u8 priority);#include <n_libaudio.h> /* n_libaudio.h */ void n_alSndpSetPriority( ALSndId id, u8 priority);
alSndpSetPriority sets the priority of a sound. The sound priority is mapped directly to a voice priority in the Synthesis Driver when the sound is played. When new requests for voices are made to the Synthesis Driver (when a sound or note is played), the function steals the lower priority voices if there are no voices available.
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
1999/04/30 Changed Format