Clean up memory after playing sound
Nameless <[email protected]>
| Newsgroups | gmane.comp.lib.openal |
|---|---|
| Message-ID | <[email protected]> |
I'm using OpenAL as sound engine in FPS game, and I came to first problem. I'm playing weapon sounds every time when player will shoot, and generating buffer / source for every sound. Problem is, I always get to the limit, and then, it refuses to play sound again. I still don't have idea, how to clean up sound memory, so, after every sound played, it'll clean up memory data, so, I'll stay under limit always. Maybe there's better method, but I still don't know which. Thanks, Nameless. -- View this message in context: http://old.nabble.com/Clean-up-memory-after-playing-sound-tp28716495p28716495.html Sent from the OpenAL - User mailing list archive at Nabble.com. _______________________________________________ Openal mailing list [email protected] http://opensource.creative.com/mailman/listinfo/openal