void FreeSound(int handle)
Use this to free the memory occupied by a WAV file. It is good coding habit to always free memory you fill. If you do not, you could create system degenerating memory leaks, and those are no good.
int MySound; MySound = LoadSound("file.wav"); // load a sound into the MySound handle... // ..use MySound.. FreeSound(MySound); // ...done using it, free up the memory.
There are no talkbacks on this documentation page yet. Post the first?
Doc Nav |
Your docs |