0
0

I’m sure there is a memory leak in FMOD. I have a play button with this code:

FSOUND_Stream_Close(StreamCurrent);
if ((StreamCurrent=FSOUND_Stream_OpenFile( filename.c_str() , NULL , 0))==NULL)
{
MessageBox(NULL,”Error opening file”,”Critical error”,MB_OK);
return;
}

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.

please help..

  • You must to post comments
0
0

thanks

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.