SoundStatus()

Syntax

Result = SoundStatus(#Sound [, Channel])
Description
Get the current sound status.

Parameters

#Sound The sound to use.
Channel (optional) The channel to use. It's the value returned by PlaySound() when using the #PB_Sound_MultiChannel flag.

Return value

The current sound status. It can be one of the following value:
  #PB_Sound_Stopped: the sound is stopped.
  #PB_Sound_Playing: the sound is playing.
  #PB_Sound_Paused : the sound is paused.
  #PB_Sound_Unknown: the sound is in an unknown state (an error occurred when getting the state).

Supported OS

All

<- SoundPan() - Sound Index - SoundVolume() ->