>I would like to fully understand the exact meaning of buffer_size and
>period_size and how can I compute the final latency in the full duplex
>processing from these variables.

period_size = frames between interrupts from the hardware
buffer size = total frames for the hardware buffer

max output latency = buffer_size
min output latency = buffer_size - period_size

max input latency = period_size + interrupt overhead
min input latency = 1 frame + interrupt overhead

the latency numbers assume:

    a) the buffer is generally full
    b) you process data 1 period at a time
    c) your s/w keeps up with the h/w
    d) its an average, computed across a period's worth of data

--p


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to