First post, by Raymond C. Glassford
I am running DOSBox 0.72, self-compiled, under Mandriva Linux 2007.0, kernel 2.6.17-5mdv, and am experiencing sound stuttering when running all MS-DOS games. Sound is normal in other Linux applications. I found a thread discussing the topic of sound stuttering when using the Linux version of DOSBox 0.61, and which further recommends removing some lines from source code before compiling.
This is taken from Unavowed's post:
==================================================
START OF QUOTE
==================================================
I ran into the same problem, using Gentoo with kernel 2.4.24-ow1. I managed to fix it by removing some lines from MIXER_Mix() in src/hardware/mixer.cpp. I tried to understand how this mixer thing works and create a decent fix but it would take too much time as the source is lacking comments or it's just me being too little of a coder, never mind. Removing these lines alone makes it work fine for me and that's all that matters.
If you decide to do the same, the lines are 215-217. Code:
Bitu size=MIXER_BUFSIZE+mixer.out.write-mixer.out.read;
if (size>=MIXER_BUFSIZE) size-=MIXER_BUFSIZE;
if (size>mixer.blocksize*2) return;
==================================================
END OF QUOTE
==================================================
I am wondering if this Linux sound stuttering problem is being actively addressed and will be resolved in the release of the next DOSBox version. If so, I will wait patiently. If not, I will try this coding fix on a fresh install, after I have worked on some "projects" of higher priority.
Other than the sound stuttering problem, DOSBox 0.72 provides excellent performance with Doom, Doom II, Heretic, Hexen, Deathkings of the Dark Citadel (Hexen add-on), Strife, and 11th Hour.
--------------------------------------------------
Compaq Deskpro EN, Pentium III 933 MHz, 256 MB RAM, Nvidia Riva TNT2 AGP Card, Canon BJC-610 Printer, Best Data 56SX92 External Serial Modem, Mandriva 2007.0, kernel 2.6.17-5mdv, KDE 3.5.4, DOSBox 0.72
--------------------------------------------------