I’m sure there is a memory leak in FMOD. I have a play button with this code:
if ((StreamCurrent=FSOUND_Stream_OpenFile( filename.c_str() , NULL , 0))==NULL)
MessageBox(NULL,”Error opening file”,”Critical error”,MB_OK);
Each time I hit the button, the program eat up 36k. I dont even play a song. I just load it and clear it.
Any idea why?
without the SoundClose function about 100k is eated up but this is normal.
- You must login to post comments