Menu

#124 Fix to the sound garble bug on LinuxPPC

open
nobody
None
5
2012-09-07
2005-09-07
Trilkk
No

The audio callback did not take into account whether
machines were big-endian or little-endian. I added some

ifs to check this and swapped the byte feed order if

neccessary.

Perhaps not very pretty a solution, but works. Finally
I can play Dos games on my Pegasos-2!

File also available here:
http://remora.dyndns.org/temp/dosbox_src_hardware_mixer_cpp.diff

Discussion

  • Trilkk

    Trilkk - 2005-09-07

    Patch to src/hardware/mixer.cpp

     
  • Qbix

    Qbix - 2005-10-04

    Logged In: YES
    user_id=535630

    Could you tell me more about the bug.

    Especially when it appears.
    Does it happen with pcspeaker games ?
    with games that use the adlib
    or with games that use soundblaster.

    or with all.
    I spoke about it with some other developpers and we think
    that it only happends with soundblaster games. Could you
    confirm this ?

     
  • c2woody

    c2woody - 2009-03-24

    Despite the lack of response from the original poster,
    this is supposed to be fixed now and can be closed
    as it will work in the next release.

     

Log in to post a comment.