Menu

#4 Error when creating secondary sound buffer: E_FAIL

closed-fixed
7
2007-02-06
2006-12-24
Anonymous
No

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

Discussion

  • Theo Berkau

    Theo Berkau - 2006-12-25

    Logged In: YES
    user_id=1005076
    Originator: NO

    What sound card are you using?

     
  • Nobody/Anonymous

    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.

     
  • Theo Berkau

    Theo Berkau - 2006-12-29

    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

     
  • Theo Berkau

    Theo Berkau - 2006-12-29
    • priority: 5 --> 7
    • assigned_to: nobody --> cyberwarriorx
    • status: open --> open-accepted
     
  • Nobody/Anonymous

    Logged In: NO

    That appears to have done it for me. What was the fix? changing hardware to software in the sound code?

     
  • Theo Berkau

    Theo Berkau - 2007-02-06
    • status: open-accepted --> closed-fixed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB