alSynStopVoice.3p 723 Bytes
.TH alSynStopVoice 3P local "Silicon Graphics, Inc."

.SH NAME 
.upperok 
alSynStopVoice \- stop generating audio samples with the specified voice.

.SH SYNOPSIS
.nf
\f3
.Op c
#include <libaudio.h>
.sp .8v
void	alSynStopVoice(ALSynth *drvr, ALVoice *voice);
.Op
\f1
.fi
.SH PARAMETERS
.TP 10
.I drvr
pointer to the synthesizer driver.
.TP
.I voice
pointer to a voice.
.SH DESCRIPTION
Stop generating audio samples with the specified
.I voice. 
It is important to fade the volume of the voice to zero before stopping it,
or clicks in the audio output can occur.
.SH WARNING
alSynStopVoice should only be called from within an ALVoiceHandler.
.SH SEE ALSO
.IR alSynAllocVoice (3P),
.IR alSynStartVoice (3P),
.IR alAudioFrame