0
0

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.

[url:1uwcwtdd]http://www.viddler.com/explore/rampid603/videos/1/[/url:1uwcwtdd]

This happens every time, as soon as a lot of sounds are being played at one time.

[i:1uwcwtdd]edit[/i:1uwcwtdd]: Removed source

  • You must to post comments
0
0

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.

[code:2dnrkf8p] soundSource->channel->getPaused(&isPaused);
soundSource->channel->isPlaying(&isPlaying); [/code:2dnrkf8p]
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.

-Pete

  • You must to post comments
0
0

Thanks for the help!

Using the logging mode I was able to discover the problem (invalid position being passed in). Got it fixed up and working perfectly.

  • You must to post comments
0
0

Glad to hear you got it fixed up.

-Pete

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.