Re: [ecasound] buffer logic

From: Kai Vehmanen <kvlists@email-addr-hidden>
Date: Wed Sep 25 2013 - 05:43:01 EEST


On Tue, 24 Sep 2013, Patrick Shirkey wrote:

> 1: Does it push the data immediately to the output when it gets something
> from the input with latency defined by the period size of the buffer
> 2: I/O is callback based with an internal logic for transmitting data
> based on internal timing un/related to the period size of the buffer?

option 1

Unless you add some effect/chainop in the ecasound chains that processes
the data as it passes by, there is no added latency.

You can see the logic with quite a bit of code documentation in

> i.e does ecasound have an internal buffer that can store buffered data if
> there is an underrun or does it work in a type of passthrough mode. What
> comes in goes out, even if there is an underrun?

Ecasound is deterministic in this sense and there is no internal
buffering. In the very, very unlikely case that ecasound is late in
providing data to JACK, jackd will kick ecasound out as it's not behaving.

October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
Ecasound-list mailing list
Received on Wed Sep 25 08:15:03 2013

This archive was generated by hypermail 2.1.8 : Wed Sep 25 2013 - 08:15:04 EEST