audio_group_is_loaded(groupID);
Argument | Description |
---|---|
groupID | The index of the audio group to check (as defined in the Global Game Settings Audio Groups Tab) |
Returns: Boolean
This function will check a specific audio group to see if it has
been loaded into memory, ready for use.
if audio_group_is_loaded(audiogroup_level1)
{
audio_group_unload(audiogroup_level1);
}
The above code checks to see if an audio group has been loaded and if it has it unloads it.