Alexander Carôt wrote:
> 3.) Rather than using a double buffer for the playout wouldn't it be
> possible to choose only one physical playout buffer and parse the
> captured data in right at the interrupt.

It's unlikely that any code could be fast enough to write the entire
buffer before the hardware starts reading from the buffer; in fact, the
hardware is likely to read the first sample from the buffer at the same
time it is triggering the interrupt for the previous period.

To reduce output latency, just reduce the output buffer size.  For
example, you could use a buffer with 128 samples (with 2 64-sample
periods).


HTH
Clemens

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to