Severe memory leak with OpenAL sound driver

BlitzMax Forums/BlitzMax Programming/Severe memory leak with OpenAL sound driver

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Sorry Brucey I made that post halfway through by mistake. You can see that today I don't have time to make an example, but thought I'd better raise the issue right away.

To confirm the fix that happened ages ago was simply that I was using PauseChannel when a sound stopped (because it prevents a click noise) instead of StopChannel. StopChannel properly frees the sound sample, whereas PauseChannel and then nulling the channel for GC to collect does not.

Anyway, that's not the issue here as both drivers use the same code which is StopChannel based...

Old Thread about the StopChannel issue: http://www.blitzmax.com/Community/posts.php?topic=65001