Allocates a sound to a sound player
#include <libaudio.h> /* libaudio.h */ ALSndId alSndpAllocate(ALSndPlayer *sndp, ALSound *sound);#include <n_libaudio.h> /* n_libaudio.h */ ALSndId n_alSndpAllocate( ALSound *sound);
alSndpAllocate allocates a sound to the sound player specified by the sndp argument.
If the allocation is successful, a sound identifier in ALSndid that is greater than or equal to zero is returned. If the sound player does not have space for the new sound, -1 is returned.
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
1999/04/30 Changed Format