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. |
N/A(无返回值)
audio_free_buffer_sound(soundID);
The above code frees the buffered sound indexed in the variable "soundID".