[quake3] Re: Sound lag fix

Philip Nelson phatfil at optusnet.com.au
Mon Oct 10 18:46:47 EDT 2005


IsSuE wrote:
> ... but now i got that damn sound lag. killed esd but didnt give me
> improvements.

I had this problem with all SDL related apps. I solved it by fixing my
~/.asoundrc with some decent dmix settings (I believe buffer_size is the
important thing here). Here's what my ~/.asoundrc looks like now:

pcm.dmixer {
        type dmix
        ipc_key 1024
        slave {
                pcm "hw:0,0"
                period_time 0
                period_size 1024
                buffer_size 8192
                rate 44100
        }
        bindings {
                0 0
                1 1
        }
}

pcm.dsp0 {
        type plug
        slave.pcm "dmixer"
}

pcm.!default {
        type plug
        slave.pcm "dmixer"
}

pcm.default {
        type plug
        slave.pcm "dmixer"
}

ctl.mixer0 {
        type hw
        card 0
}

Hope that helps,
Philip




More information about the quake3 mailing list