0
0

Hi, I’ve got a few users who are having this error:

A call to a standard soundcard
driver failed, which could possibly mean a bug in the driver or
resources were missing or exhausted.

when I do this:

[code:134l7vlk]
FMOD::Channel* pchannel = NULL;
FMOD_RESULT ret = PFMod->playSound(FMOD_CHANNEL_FREE, psound, false,&pchannel);[/code:134l7vlk]

calling getlast error gets me:
[code:134l7vlk]Overlapped I/O operation is in progress[/code:134l7vlk]

but i suspect thats a red herring.

Any ideas? esp regarding why it seems to be sound card specific. I have noticed that my card seems happy to have FMOD release channels for reuse right away, but some users cards (soundblaster ones) don’t seem to free up channels quickly, and I need to set the machannels higher.

  • You must to post comments
0
0

Switch to FMOD_SOFTWARE and avoid driver problems.

  • You must to post comments
0
0

So does it sound like its a driver bug in releasing channels? I can’t personally replicate the bug, so its not easy to check if that will fix it.
I am guessing by default, FMOD will try and use hardware when creating a sound unless you force it otherwise in a FMOD_CREATESOUNDEXINFO?

  • You must to post comments
0
0

well thats what the error said, so i believe so yes.

You add FMOD_SOFTWARE to the mode bits, it is not a createsoundexinfo structure member.

  • You must to post comments
0
0

thanks

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.