alSynStopVoice, n_alSynStopVoice
Stops generating audio samples with the specified voice
#include <libaudio.h> /* libaudio.h */ void alSynStopVoice(ALSynth *drvr, ALVoice *voice);#include <n_libaudio.h> /* n_libaudio.h */ void n_alSynStopVoice( N_ALVoice *voice);
This stops generating audio samples with the specified voice. You should fade the volume of the voice to zero before stopping it. If you don't, clicks in the audio output can occur.
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
Call alSynStopVoice from within ALVoiceHandler only.
alSynAllocVoice, alSynStartVoice, and alAudioFrame
1999/04/30 Changed Format