alSndpPlay (function)

alSndpPlay, n_alSndpPlay

Starts playing the current target sound

Syntax

#include <libaudio.h>     /* libaudio.h */
void alSndpPlay(ALSndPlayer *sndp);
#include <n_libaudio.h>     /* n_libaudio.h */
void n_alSndpPlay(void);

Arguments

sndp
Pointer to a sound player

Description

alSndpPlay starts playing the current target sound. Set the target sound by calling alSndpSetSound. If the sound is already playing, this call has no effect.

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

See Also

alSndpStop, alSndpGetState, alSndpSetSound

Revision History

1999/04/30 Changed Format