I am attempting to replace OpenAL in our game with FMOD. I have it implemented and it works fine unless there is a lot of sounds being played at the same time. Here is a video that shows what is happening.
This happens every time, as soon as a lot of sounds are being played at one time.
[i:1uwcwtdd]edit[/i:1uwcwtdd]: Removed source
- rampid603 asked 8 years ago
That’s a lot of code you’ve posted, most of it looks fine. The easiest way for us to diagnose the problem is if you can try to modify one of our example applications to reproduce this problem. This can usually help to isolate the problem. You can also try linking to the logging version of fmod, which will give you more information about what is going on internally.
I noticed in your code you’re only checking the FMOD_RESULT some of the time. It’s important to check the result returned from every FMOD function.
You should check the FMOD_RESULT being returned from these functions. Mostly because if the channel is stolen by System::playSound neither of these functions will work and the result with be FMOD_ERR_INVALID_HANDLE.
Please login first to submit.