alSndpDeallocate, n_alSndpDeallocate
Deallocates a sound from a sound player
#include <libaudio.h> /* libaudio.h */ void alSndpDeallocate(ALSndPlayer *sndp, ALSndId id);#include <n_libaudio.h> /* n_libaudio.h */ void n_alSndpDeallocate( ALSndId id);
alSndpDeallocate deallocates a sound from a sound player specified by the sndp argument. It frees up space within the sound player. If the deallocated sound is the current target sound, the target ID is set to -1.
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
Call this function (alSndpDeallocate) for a sound only after that sound's state has reached AL_STOPPED.
alSndpSetSound, alSndpGetSound, and alSndpAllocate
1999/04/30 Changed Format