Parameters & Returns
Parameters
Returns
Quick Summary
Frees a loaded sound from memory.
Takes sound (sound handle from audLoadSound).
Returns nothing.
Technical Exegesis...
Releases the memory used by a sound loaded with audLoadSound. The sound handle becomes invalid after this call.
Does nothing if the sound handle is invalid or <= 0. Any channels currently playing this sound will continue to play, but the sound cannot be used to start new playback. Always free sounds when finished to prevent memory leaks.
Example
Local pistolSound:Int = audLoadSound(\"pistol.wav\")
audFreeSound(pistolSound)