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.

重要!该函数在试用版(Trial License)产品中可用。


语法:

audio_free_buffer_sound(index);


参数 描述
index The index of the buffered sound to free.


Returns:

N/A(无返回值)


例如:

audio_free_buffer_sound(soundID);

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