diff options
author | David Robillard <d@drobilla.net> | 2024-11-15 09:43:43 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 18:53:10 -0500 |
commit | 7c9858897ff6014a6cf36cefbd05f1f4f63817c4 (patch) | |
tree | 266ef6241d7d6463816c485a75749bce8818882c /src/jack.c | |
parent | e517361e4e9d8eae572a89a761a4def3ad8870eb (diff) | |
download | jalv-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.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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); } } |