This function will check a specific audio group to see if it has been loaded into memory, ready for use.
audio_group_is_loaded(groupID);
参数 | 描述 |
---|---|
groupID | The index of the audio group to check (as defined in the Audio Groups Window) |
Boolean(布尔值)
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.