    Function

    nuAuSndPlayerGetState (Macro)

Syntax

    s32 nuAuSndPlayerGetState(void)

Arguments
None

Return Value
Playback condition(AL_PLAYING, AL_STOPPING and AL_STOPPED)

Explanation
Obtain present playback condition for a sound object.

Set sound object 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
alSndpGetState