>Hi, I'm developing an 8 channel recorder based on alsa0.9.0beta10 and a
>Terratec EWS88mt sound card.
>I'm now using a 2.4.18 kernel with the Andrew Morton patches applied. I
>really want to be able to record/playback at the full 96k 24bits on all
>8 channels simultaneously, but I need absolutely no under/overruns.
>Currently, as I try to up the bandwidth requirements I get xruns
>occurring more and more frequently; I'm not even sure if I can guarantee
>a maximum, before the onset of xruns, although 16bit 44.1 may well be
>okay.
>
>I don't care about other system processes, so I've set the record and
>playback threads to SCHED_FIFO prio 99 (although I don't really know if
>this is the right thing to do!)
>
>Is there anything I can do/change/not do to eliminate xruns altogether?

You cannot eliminate xruns altogether. xruns are caused either by OS
scheduling delay, or by processor load. I trust that you are not
trying to read/write from/to disk from the same thread as you are
handling audio in ...

Ardour (http://ardour.sf.net) records 24 channels with 32 bit samples
with no xruns. Perhaps you are not familiar with this project. It uses
JACK (http://jackit.sf.net) as its underlying audio engine, which in
turn uses ALSA.

--p

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to