[Jack-Devel] I'm confused about latency

Robin Gareus robin at gareus.org
Sat Apr 6 14:30:28 CEST 2019


On 4/6/19 7:07 AM, Alexandre BIQUE wrote:
> Which led me to the conclusion "less is more": strip down the latency
> from the ports, make it clear that you can't write a jack client which
> does correct latency compensation.

That would be counter-productive. You statement is also not correct.
jack clients can correctly compensate for latency, and also do that in
situations when no audio hardware is involved.

The fact that not all jack clients do this is not reason to constrain
others.

> Then let the client query the audio interface latency and job done.

Only MacOS/X offers an interface to query systemic latency from hardware
interfaces.

> It will work well for clients that uses jack as an audio interface:

If you don't need to do inter-application routing, I would highly
recommend against using JACK only to abstract a single audio interface.

> To sum up in one sentence, in my opinion it is better to not have
> latency compensation than having it working half of the time.

A user asking for ambiguous latency situations is not an design issue
with JACK. The 'range' was specifically added to account for this and
allow jack-clients to cope with it.

2c,
robin



More information about the Jackaudio mailing list