I used fmod to give ability to play compressed files in one game. I used ordinary sample functions and streams with user callbacks. Everything is working just fine, but sometimes the game locks up for 4-6 seconds. Even mouse cursor isn’t moving, also Alt+Tab isn’t work, but in game music is playing.
Now, my ideas to catch this bug is exhausted.
Please, help me to find out it is fmod problem or not?
- lesh asked 13 years ago
In the begining game was using the mss32 sound lib. It worked ok. When I managed to disable mss32 and enable fmod, I began to experience lockups. I even made an experiment: I disable all functions, that start to playing sounds, so there was only init/de-init, volume and pan control and ‘IsPlaying’ functions. No in game sound but lockups still present!
Hm… It seems that this is a mixer issue because:
– I disable streaming but lockups still occur
– When I made ‘FSOUND_SetOutput(FSOUND_OUTPUT_NOSOUND)’ in initialization it gave no lockups
So I decide to change frequency from 44100 to 22050. First test didn’t give any lockups. I will test it more.
No, sample playing don’t makes the problem. This lockups so smart that freezes application system message queue so even ctrl+alt+del works only after the freeze pasts. I wonder what it may be? I am using Win2000. And Microsoft Visual C++ .NET Version 7.1.3088. Maybe I should change a compiler?
Please login first to submit.