diff options
author | David Robillard <d@drobilla.net> | 2024-11-15 20:38:43 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 19:01:17 -0500 |
commit | fb192806333ca88d5acb53b849f268611773230d (patch) | |
tree | 5dc3197e1544a72dd9b64bc805f309c9f816ae05 /src/jalv.c | |
parent | e4eaf9b181c121a794f2acaea6e51aeaaf4ecffb (diff) | |
download | jalv-fb192806333ca88d5acb53b849f268611773230d.tar.gz jalv-fb192806333ca88d5acb53b849f268611773230d.tar.bz2 jalv-fb192806333ca88d5acb53b849f268611773230d.zip |
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)."
Diffstat (limited to 'src/jalv.c')
-rw-r--r-- | src/jalv.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); } |