Function
nuAuSndPlayerGetState (Macro)
Syntax
s32 nuAuSndPlayerGetState(void)
Arguments
None
Return Value
Playback state(AL_PLAYING,AL_STOPPING,AL_STOPPED)
Description
Obtains current playback state for the sound.
Set sound to be played back by calling nuAuSndPlayerSetSound. When nuAuSndPlayerSetSound is not called, the present playback condition for the sound which was played back last using nuAuSndPlayerPlay is returned.
There are three status conditions - AL_PLAYING, AL_STOPPING and AL_STOPPED. AL_PLAYING indicates that the sound is currently playing back, AL_STOPPING indicates that the sound is in the release stage and AL_STOPPED indicates that the sound is not being played back.
See Also