audio_free_buffer_sound

With this function you can free up the pointer index value associated with the sound ID. Freed sounds will not be available for playing, and if multiple instances of the sound are being played they will all be stopped. Note that before you can delete the buffer itself, you must first free all sound ID's associated with it.

 

Syntax:

audio_free_buffer_sound(index);

ArgumentTypeDescription
indexSound AssetThe index of the buffered sound to free.

 

Returns:

N/A

 

Example:

audio_free_buffer_sound(soundID);

The above code frees the buffered sound indexed in the variable "soundID".