Re: I'm confused about latency

Robin Gareus <[email protected]> Sat, 6 Apr 2019 15:47:35 +0200
Newsgroups gmane.comp.audio.jackit
Message-ID <[email protected]>
On 4/6/19 2:53 PM, Alexandre BIQUE wrote:

> I would be really interested to read the fix of Ableton Link's LinkHut
> with jack backend regarding latency compensation.
> 

LinkHut only has playback/output ports and transmits time, right?

If so, simply query the output port's latency-range and use the max.
Then offset the timestamp to transmit by the output's latency  (send
future time so that by the time it arrives on the physical outputs a bit
later it's valid).

You may want to subscribe to jack's graph-order callback and update the
alignment when connections change..

HTH,
robin