Re: [ecasound] playback overrun with alsahw,0,0 but not with /dev/dsp

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] playback overrun with alsahw,0,0 but not with /dev/dsp
From: Kai Vehmanen (k_AT_eca.cx)
Date: Thu Apr 03 2003 - 17:16:44 EEST


On Sat, 29 Mar 2003, Hans-Georg Fischer wrote:

> ecasound ecasound -f:16,2,44100 -i /dev/dsp -o t.wav
> works for houres without problems. Even under heavy load.
[...]
> But
> ecasound -f:16,2,44100 -i alsahw,0,0 -o t.wav
> produces a bunch of
> (audioio-alsa) warning! playback overrun - samples lost! Break was at
> least 30.38 ms long

This is because OSS doesn't provide any means of detecting xruns
from applications. So the xruns probably do occur even with OSS,
but ecasound is not able to tell you about them.

By running ecasound with rt-privileges (as root), you should be able to
avoid xruns. If you still get them, then you need to fine-tune your
hard-drives and/or kernel a bit (see
http://linux.oreillynet.com/pub/a/linux/2000/11/17/low_latency.html?page=1
).

-- 
 http://www.eca.cx
 Audio software for Linux!


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Apr 03 2003 - 17:08:13 EEST