    Function

    nuAuSndPlayerPlay

Syntax

    ALSndId nuAuSndPlayerPlay(u32 sndNo)

Arguments

- sndNo is the number for play back sound

Return Value
ID for sound, value is -1 when unable to play back.

Explanation
Play back the sound which is specified by sound number. Return ID when allocating the specified sound using alSndpAllocate. Return -1 if the allocation fails and sound cannot be played.

After this function is executed, the sound which is specified by an argument remains as the sound object until this function is called again or another sound is specified by nuAuSndPlayerSetSound.

See Also
nuAuSndPlayerSetSound