FreeMusic()

Syntax

FreeMusic(#Music)
Description
Stop and remove the specified music previously loaded with the LoadMusic() function from memory. Once a music has been freed, it can't be played anymore.

Parameters

#Music The music to free. If #PB_All is specified, all the remaining musics are freed.

Return value

None.

Remarks

All remaining musics are automatically freed when the program ends.

Supported OS

All

<- CatchMusic() - Music Index - GetMusicPosition() ->