Hi, I am getting a new error when I try and play mp3’s with an mp3 class I wrote:

g_cFGObjects == 0 at line 5868 d:\builds…filgraph\filgraph.cpp

The error occurs around 50% of the times I execute the program. I did not seem to get this error before I added this class to an opengl game and called a play function from my main loop.

When I debug the program I get an unhandled exception error in the line:

str = FSOUND_Stream_OpenFile(filename,FSOUND_NORMAL,0);

I initialize and clean up everything as close to the fmod example (in the samples directory) as possible.

I am using VC++ 6 on Windows 2000.

Any help is appreciated


  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.