From 7c9858897ff6014a6cf36cefbd05f1f4f63817c4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Nov 2024 09:43:43 -0500 Subject: Move ring error handling and logging to a higher level This removes the dependency on the "global" Jalv object from the low-level message sending functions. --- src/jack.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/jack.c') diff --git a/src/jack.c b/src/jack.c index e6ed812..212db43 100644 --- a/src/jack.c +++ b/src/jack.c @@ -232,12 +232,17 @@ jack_process_cb(jack_nframes_t nframes, void* data) if (jalv->has_ui) { // Forward event to UI - jalv_write_event(jalv, jalv->plugin_to_ui, p, size, type, body); + jalv_write_event(jalv->plugin_to_ui, + p, + jalv->urids.atom_eventTransfer, + size, + type, + body); } } } else if (send_ui_updates && port->flow == FLOW_OUTPUT && port->type == TYPE_CONTROL) { - jalv_write_control(jalv, jalv->plugin_to_ui, p, port->control); + jalv_write_control(jalv->plugin_to_ui, p, port->control); } } -- cgit v1.2.1