aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-15 18:45:56 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:00:56 -0500
commitb56679c566dfd01a3b09958e98dcadbbd306bfcb (patch)
treea9cdee57620f629b87b9124e2102705ef329cafc /src/jack.c
parent417f76f18194ab6edf7e77d771037cf3ff8059e1 (diff)
downloadjalv-b56679c566dfd01a3b09958e98dcadbbd306bfcb.tar.gz
jalv-b56679c566dfd01a3b09958e98dcadbbd306bfcb.tar.bz2
jalv-b56679c566dfd01a3b09958e98dcadbbd306bfcb.zip
Generalize audio/main thread communication
Defines a more general message structure that can also accommodate internal use (not just as a channel for plugin/UI message), and cleans up the ring reading/writing code to prepare for such use.
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/jack.c b/src/jack.c
index 3a92ff4..115029e 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -230,12 +230,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
if (jalv->has_ui) {
// Forward event to UI
- jalv_write_event(jalv->plugin_to_ui,
- p,
- jalv->urids.atom_eventTransfer,
- size,
- type,
- body);
+ jalv_write_event(jalv->plugin_to_ui, p, size, type, body);
}
}
} else if (send_ui_updates && port->flow == FLOW_OUTPUT &&