FreeSound()

Syntax

FreeSound(#Sound)
Description
Stops and removes a sound previously loaded with LoadSound() from memory. Once a sound has been freed, it can't be played anymore.

Parameters

#Sound The sound to free. If #PB_All is specified, all the remaining sounds are freed.

Return value

None.

Remarks

All remaining sounds are automatically freed when the program ends.

Supported OS

All

Sound Index - GetSoundPosition() ->