alSndpSetSound (function)

alSndpSetSound, n_alSndpSetSound

Sets the current target sound in a sound player


#include <libaudio.h>     /* libaudio.h */
void alSndpSetSound(ALSndPlayer *sndp, ALSndId id);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSndpSetSound(                 ALSndId id);


Pointer to a sound player

a unique number that identifies a sound within a sound player; this id is returned when the sound is allocated to the sound player


alSndpSetSound sets the current target to the sound specified by the id argument. Future calls to routines that set arguments refer to the target sound.

For details on n_audio library, see "Chapter 28: n_audio library" in the N64 Programming Manual.

See Also

alSndpGetSound, alSndpAllocate

Revision History

1999/04/30 Changed Format