alSynFreeVoice, n_alSynFreeVoice
Deallocates a synthesizer voice
#include <libaudio.h> /* libaudio.h */ void alSynFreeVoice(ALSynth *drvr, ALVoice *voice);#include <n_libaudio.h> /* n_libaudio.h */ void n_alSynFreeVoice( N_ALVoice *voice);
It deallocates a synthesizer voice and returns the deallocated voice to the free voice list. Before calling this function, make sure the sound has decayed to zero volume. Failure to ensure that the volume is at zero can result in clicks in the audio output.
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
alSynFreeVoice is called only from within ALVoiceHandler.
alSynAllocVoice, alSynStartVoice, and alSynStopVoice
1999/04/30 Changed Format