alSndpGetSound (function)

alSndGetSound, n_alSndpGetSound

Gets the identifier of the current target sound in a sound player

Syntax

#include <libaudio.h>     /* libaudio.h */
ALSndId alSndpGetSound(ALSndPlayer *sndp);
#include <n_libaudio.h>     /* n_ibaudio.h */
ALSndId n_alSndpGetSound(void);

Arguments

sndp
Pointer to a sound player

Description

alSndpGetSound returns the id of the current target sound. If no target is set, it returns -1.

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

See Also

alSndpSetSound

Revision History

1999/04/30 Changed Format