alSynSetVol.3p 794 Bytes
.TH alSynSetVol 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alSynSetVol \- set the target volume of the specified voice.

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void	alSynSetVol(ALSynth *drvr, ALVoice *voice, s16 vol, ALMicroTime t);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I drvr
pointer to the synthesizer driver.
.TP
.I voice
pointer to the voice.
.TP
.I vol
the new target volume.
.TP
.I t
time to new target volume in microseconds.
.SH DESCRIPTION
Ramp exponentially to the target volume in
.I t
microseconds.
.I vol
can range from 0 to 0x7fff. Negative values are undefined.
.SH WARNING
alSynSetVol should only be called from within an ALVoiceHandler.
.SH SEE ALSO
.IR alSynSetPan (3P),
.IR alSynSetPitch (3P),
.IR alSynSetFXMix (3P),
.IR alSynStartVoiceParam (3P)