alSynSetPriority.3p
693 Bytes
.TH alSynSetPriority 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
alSynSetPriority \- set the priority of the specified voice.
.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void alSynSetPriority(ALSynth *drvr, ALVoice *voice, s16 priority);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I drvr
pointer to the synthesizer driver.
.TP
.I voice
pointer to the voice.
.TP 10
.I priority
the priority.
.SH DESCRIPTION
Set the priority of the specified voice.
.I priority
can range from 0 to AL_PRIORITY_MAX which is defined in libaudio.h.
.SH WARNING
alSynSetPriority should only be called from within an ALVoiceHandler.
.SH SEE ALSO
.IR alSynGetPriority (3P),
.IR alSynAllocVoice (3P)