aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-15 09:43:43 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 18:53:10 -0500
commit7c9858897ff6014a6cf36cefbd05f1f4f63817c4 (patch)
tree266ef6241d7d6463816c485a75749bce8818882c /src/jack.c
parente517361e4e9d8eae572a89a761a4def3ad8870eb (diff)
downloadjalv-7c9858897ff6014a6cf36cefbd05f1f4f63817c4.tar.gz
jalv-7c9858897ff6014a6cf36cefbd05f1f4f63817c4.tar.bz2
jalv-7c9858897ff6014a6cf36cefbd05f1f4f63817c4.zip
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.
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c9
1 files changed, 7 insertions, 2 deletions
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);
}
}