[LAD] 2.6.20 scheduler and buffer underruns
Lee Revell
rlrevell at joe-job.com
Wed Jul 11 19:33:29 UTC 2007
On 7/11/07, Darren Gibbs <tsquank at yahoo.com> wrote:
> We're doing an ARM-based embedded device, which right now is running
> vanilla 2.6.20. For the sake of simplicity we wrote an OSS driver
> that's simply double-buffering and writing to the DAC via I2S. We
> have a buffer underrun problem that is directly proportional to CPU
> load... no glitches when simply cat-ing a file to /dev/dsp, but lots
> of glitches when other things are happening on the system. Can
> anyone suggest tools/techniques/patches for improving the situation?
Run the audio playback app with SCHED_FIFO priority.
Lee
More information about the Linux-audio-dev
mailing list