If you have previously created an audio stream from a file using the function audio_create_stream() and no longer need that sound, you can call this function to delete it from memory. Any further calls to the sound index after it has been destroyed will give an error.NOTE: This functionality is not available for the HTML5 target platform.IMPORTANT! This function is not available with the Trial Licence of the product.
|filename||The file to stream the audio from.|
The above code removes the sound indexed in the variable "snd" from memory.