aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jalv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv.c b/src/jalv.c
index fb41e15..51ff826 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -501,7 +501,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
}
/* TODO: Be more disciminate about what to send */
- if (send_ui_updates && !port->old_api) {
+ if (jalv->has_ui && !port->old_api) {
char buf[sizeof(ControlChange) + sizeof(LV2_Atom)];
ControlChange* ev = (ControlChange*)buf;
ev->index = p;