lkml.org 
[lkml]   [2001]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Preemption Latency Measurement Tool
Thomas Sailer wrote:
>
> > lowlatency soundcards usually have something like 128-512 samples per
> > channel for 24-bit (32-bit data) 96 kHz 8 channels...

> This doesn't make sense. Even professional soundcards provide hundreds
> of kBytes of buffer space. And even with most cheap PCI cards you
> need not wait until the whole buffer is full before start reading
> samples. Even with those soundcards the latency is mostly caused
> by the digital filters in the codec.

RME Digi 96/8 Pro has 128 kB buffer. This means 2048 samples per channel for
8 channel full-duplex operation which is 21.3 ms for 96 kHz. If interrupt is
generated at 50% buffer fill then the time between interrupts is 10.7 ms.
(1)

ICEnsemble ICE1712 chip can use max 256 kB for record and playback so it's
maximum latency is 56.9 ms for 96 kHz and 28.4 ms between interrupts. (2)

As a side note, from ICE's Windows control panel I can select 2-28 ms for
DMA buffer size.

Those times are maximum, usually lower values are used. I use 10 ms buffer
under Windows.


- Jussi Laako


References:

1) RME Digi96 series datasheet
2) ICEnsemble ICE1712 datasheet

--
PGP key fingerprint: 161D 6FED 6A92 39E2 EB5B 39DD A4DE 63EB C216 1E4B
Available at PGP keyservers
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.083 / U:2.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site