From fb192806333ca88d5acb53b849f268611773230d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Nov 2024 20:38:43 -0500 Subject: Fix Jack latency recomputation when plugin latency changes Paul Davis says "jack_recompute_total_latencies() is a server call. It is not legal to make server calls from within a server callback (like the process callback)." --- src/jalv.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/jalv.c') diff --git a/src/jalv.c b/src/jalv.c index ea0e13b..beb36ca 100644 --- a/src/jalv.c +++ b/src/jalv.c @@ -737,6 +737,8 @@ jalv_update(Jalv* jalv) sizeof(LV2_Atom) + msg->atom.size, jalv->urids.atom_eventTransfer, &msg->atom); + } else if (header.type == LATENCY_CHANGE) { + jalv_backend_recompute_latencies(jalv); } else { return ring_error("Unknown message type received from process ring\n"); } -- cgit v1.2.1