StopSound()

Syntax

StopSound(#Sound [, Channel])
Description
Stop the specified sound (if it was playing). If the #Sound value is -1, then all sounds currently playing are stopped.

'Channel' is optional and specify on which channel the sound should be stop. A 'Channel' is available when using PlaySound() with #PB_Sound_MultiChannel.

Supported OS

All

<- SoundVolume() - Sound Index