Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

Hello...

I've just stumbled across a strange problem with my QCP audio player.

I am loading all of my QCP's at the start of the app (allocating a buffer for each and loading the sounds into it). If I exit my app at a certain (I thought benign) place (and _after_ a QCP has been played), my pointers have been modifed out from under me. The pointers are still FREE()d without problems but the emu reports a memory leak; one for each QCP.

If I start the app then exit without playing any QCP, my pointers are fine and the emulator doesn't report a memory leak.

Has anyone else run into this and what you did to get around it?

Thanks.

-- Bob

I think it is a matter of loading and unloading QCP files. If you can, post the code snipset.

I think it is a matter of loading and unloading QCP files. If you can, post the code snipset.