Latency in sound playback using ALSA OSS emulation - tuneable?
I use the standard ALSA drivers in my 2.6.7 kernel (Slackware 10.0). When I play sound back using the ALSA API natively I have very little latency, which is nice. When I play back using OSS emulation the latency is much larger: maybe half a second.
For this reason, I use native ALSA playback wherever possible. This is not possible when playing games: Doom 3 and Return To Castle Wolfenstein use the OSS API for maximum compatibility. Because of this, the spot sound effects are not precisely synchronised with the visuals.
It is not a great problem, because half a second's worth of latency is not so noticeable, but I wondered if there was anything I could do to tune it? My CPU is reasonably good (Athlon XP 3000+) so there should be some scope for me to reduce the audio buffer sizes without getting underruns. Is this possible?
(Other hardware info, audio controller: NForce2 on-board, Asus A7N8X-E Deluxe motherboard).