alSynSetPriority alSynSetPriority (function)

alSynSetPriority, n_alSynSetPriority

Sets the priority of the specified voice

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSynSetPriority(ALSynth *drvr, ALVoice *voice, s16 priority);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSynSetPriority(           N_ALVoice *voice, s16 priority);

Arguments

drvr
Pointer to the synthesizer driver

voice
Pointer to the voice

priority
Priority

Description

alSynSetPriority sets the priority of the specified voice. The priority can range from 0 to AL_PRIORITY_MAX which is defined in the libaudio.h file.

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

Note

Call alSynSetPriority from within AlVoiceHandler only.

See Also

alSynGetPriority, alSynAllocVoice

Revision History

1999/04/30 Changed Format