Function StopSounds

StopSounds()
The function stops all currently playing sounds. In the below example we stop all sounds after user releases a mouse button. Example:
$Tone = #"tone.mp3"
PlaySound($Tone)

function OnMouseUp(x, y)
	StopSounds()
end function

See also: