[LAD] JACK latency API clarifications

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: The Linux Audio Developers' Mailing List <linux-audio-dev@...>
Date: Thursday, February 20, 2014 - 10:32 pm

Hi all,

Let's say I have a client that introduces an amount of latency that's
variable at runtime and potentially unbounded. From JACK's docs it
seems that you need to recompute the min/max latencies in the latency
callback that's called "by the server" whenever it feels like, but you
can force that by calling jack_recompute_total_latencies (right?).

The problem is, you are advised to call this last function only after
calling jack_port_set_latency_range(), which you should only call in
the latency callback, which may be called next month... am I dumb
(probably) or is there a deadly loop?

I couldn't find code handling dynamic latencies around and I'm way too
lazy to try to understand JACK internals or to make silly tests etc.
(also because they would tell nothing since we have multiple
implementations of the same JACK API).

Stefano
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] JACK latency API clarifications, Stefano D'Angelo, (Thu Feb 20, 10:32 pm)
Re: [LAD] JACK latency API clarifications, Robin Gareus, (Thu Feb 20, 10:47 pm)
Re: [LAD] JACK latency API clarifications, Paul Davis, (Thu Feb 20, 10:45 pm)
Re: [LAD] JACK latency API clarifications, Stefano D'Angelo, (Thu Feb 20, 11:05 pm)
Re: [LAD] JACK latency API clarifications, Paul Davis, (Thu Feb 20, 11:08 pm)
Re: [LAD] JACK latency API clarifications, Stefano D'Angelo, (Thu Feb 20, 11:09 pm)
Re: [LAD] JACK latency API clarifications, Stefano D'Angelo, (Fri Feb 21, 2:38 pm)
Re: [LAD] JACK latency API clarifications, Paul Davis, (Fri Feb 21, 2:51 pm)
Re: [LAD] JACK latency API clarifications, Stefano D'Angelo, (Fri Feb 21, 3:04 pm)
Re: [LAD] JACK latency API clarifications, Paul Davis, (Fri Feb 21, 3:21 pm)
Re: [LAD] JACK latency API clarifications, Lieven Moors, (Fri Feb 21, 6:51 pm)
Re: [LAD] JACK latency API clarifications, Jörn Nettingsmeier, (Fri Feb 21, 7:34 pm)
Re: [LAD] JACK latency API clarifications, Lieven Moors, (Fri Feb 21, 8:28 pm)
Re: [LAD] JACK latency API clarifications, Fons Adriaensen, (Fri Feb 21, 8:01 pm)
Re: [LAD] JACK latency API clarifications, Stefano D'Angelo, (Fri Feb 21, 3:41 pm)