Error when creating secondary sound buffer: E_FAIL - An undetermined error occurred.
Happens when starting up newest version 0.50 Desmume
No sound during games, and going into Config -> Sound Setting and w/ options Direct Sound Interface, 2940 Buffer Size, and Max Volume, hitting Ok - crashes Desmume, windows error dialog pops up
Putting Config to -> WAV Write Sound Interface doesn't crash but has no sound either
Anonymous
Logged In: YES
user_id=1005076
Originator: NO
What sound card are you using?
Logged In: NO
I've found the problem. start>run>dxdiag. click the sound tab, and do a test. I got the same error, and when I ran this test, it told me my card does not support hardware buffering of sound, just software. This would explain a lot on the 'secondary sound buffer' part. One way to fix this would be to add the option in the sound menu to switch between hardware or software buffering, with software being default, as software buffering does not depend on the card supporting it. depending on the sound libraries being used, however, they may have to code their own software buffering scheme, which would take time.
Logged In: YES
user_id=1005076
Originator: NO
I compiled a potentially fixed version. You can get it at: http://www.cyberwarriorx.com/files/desmume-sndfix.zip
Please try it out and let me know the results. Thanks
Logged In: NO
That appears to have done it for me. What was the fix? changing hardware to software in the sound code?