audio_group_is_loaded

Check an audio group to see if it is loaded into memory.

Syntax:

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


Description

This function will check a specific audio group to see if it has been loaded into memory, ready for use.


Example:

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.


Back: Audio Groups
Next: audio_group_load_progress
© Copyright YoYo Games Ltd. 2018 All Rights Reserved