Re: [LAU] mystic 1ms border in sound cards or ALSA?

From: Florian Schmidt <mista.tapas@email-addr-hidden>
Date: Mon Jan 12 2009 - 22:36:36 EET

On Monday 12 January 2009, Giso Grimm wrote:
> Hi all,
>
> in several audio devices I observe a minimal block size setting of 1 ms:
>
> - In the Echo Layla 3G, it is possible to configure smaller block sizes,
> but the driver or device seems to use 3 fragments instead of 2.
>
> - With the RME HDSP9652, I hear artifacts when I configure a fragment
> size which is smaller than 1 ms.
>
> - With the RME HDSP9632 I am not able to configure a smaller fragment
> size at all.
>
> Does anyone know about the source of this mystic border? If it is in the
> ALSA abstraction or driver layer, what is the reason for this? Is it
> simply the assumption that nobody needs shorter fragment sizes, and
> shorter fragment sizes are likely to produce xruns? Or is this just
> caused by the hardware?

Either the hardware or the driver. I have used sub-millisecond latencies
(roundtrip) on a delta66 card and a properly setup -rt kernel without XRUNS.
E.g. 8 frames per period, 2 periods at 48khz (2*8/48000 is ca 0.3ms latency).
ALSA itself (the framework, not each and every device-specific driver) and
jackd can handle these latencies just fine.

Just as a sidenote: There is additional latency caused by the DA and AD
converters themselfes which varies from device to device. I think Fons once
released a program to measure these additional latencies.. I don't know the
figures for the delta 66.

Regards,
Flo

-- 
Palimm Palimm!
http://tapas.affenbande.org

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Tue Jan 13 00:15:07 2009

This archive was generated by hypermail 2.1.8 : Tue Jan 13 2009 - 00:15:08 EET