audio_destroy_stream(filename);
Argument | Description |
---|---|
filename | The file to stream the audio from. |
Returns: NA
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.
audio_destroy_stream(snd);
The above code removes the sound indexed in the variable "snd" from memory.