Re: [ecasound] buffer logic

From: Patrick Shirkey <pshirkey@email-addr-hidden>
Date: Wed Sep 25 2013 - 01:18:53 EEST

On Wed, September 25, 2013 12:43 pm, Kai Vehmanen wrote:
> Hi,
> 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
> ecasound/libecasound/audioio_jack_manager.cpp:eca_jack_process_engine_iteration()
>> 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.

Thanks. That's what I was expecting but just needed to confirm so I can go
return the issue to the PA devs.

Patrick Shirkey
Boost Hardware Ltd
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 12:15:01 2013

This archive was generated by hypermail 2.1.8 : Wed Sep 25 2013 - 12:15:02 EEST