[linux-audio-dev] can't get any dropouts?

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

Subject: [linux-audio-dev] can't get any dropouts?
From: est_AT_hyperreal.org
Date: ti elo    10 1999 - 08:59:26 EDT


Stefan Nitschke discourseth:
>
> Just, a question:
> I read several mails about linux and real-time audio. Things about
> drop outs, bad latancy, ....
>
> I wonder a little bit about ... RTSynth e.g. runs just fine on my linux 2.2.x
> system without any dropouts and a very fast response. It uses a fragment size
> of 256/512 bytes (mono/stereo). On linux 2.0.x I tried out a fragment size down
> to 64 bytes without any problems.
> I use a patched MAD/Mozart kernel-OSS-driver and a MiroPCM12-PnP sound card.

Stefan,

Please try latencytest (http://www.gardena.net/benno/linux/audio/).

Possible reasons for your RTSynth results:

* You give fragment sizes but not the number of fragments..the product
  of those is the total audio buffer size.

* RTSynth probably doesn't have a lot of disk activity.

* It may also not use much of your processor leaving a lot of slack in
  which to catch up.

If you want to generate dropouts in RTSynth, try running top at the
same time. You'll also find out RTSynth's processor load. :) You can
also try creating a 200M file (head -c 200000000 /dev/zero >tmpfile)
while RTSynth is running. Deleting the file is probably even more
likely to cause dropouts.

Best,

Eric


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

This archive was generated by hypermail 2b28 : pe maalis 10 2000 - 07:25:52 EST