Initializes a sound player
#include <libaudio.h> /* libaudio.h */ void alSndpNew( ALSndPlayer *sndp, ALSndpConfig *config);#include <n_libaudio.h> /* n_libaudio.h */ void n_alSndpNew(N_ALSndPlayer *sndp, ALSndpConfig *config);
alSndpNew initializes the sound player specified by the sndp argument for the configuration specified by the config argument and signs into the synthesis driver as a client. Note that it allocates memory from the (initialized) ALHeap referenced by the config structure.
config argument of the ALSndpConfig structure determine how the number of resources are allocated in the heap region.
For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.
1999/04/30 Changed Format