FreeSound

FreeSound
void FreeSound(int handle)

Documentation

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.

Example Usage

int MySound;
MySound = LoadSound("file.wav"); // load a sound into the MySound handle...

// ..use MySound..

FreeSound(MySound); // ...done using it, free up the memory.
Talkback

There are no talkbacks on this documentation page yet. Post the first?

Post a new comment?

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.