aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-16 19:38:13 +0000
committerDavid Robillard <d@drobilla.net>2012-07-16 19:38:13 +0000
commit4488a3cc23477f05d887246d1047cf39d0970297 (patch)
treeff3f429d8e874e10ba6d90ef7a73665c32b7d493 /src
parent4bb967015d97a36019520d94019990a33a0c742b (diff)
downloadjalv-4488a3cc23477f05d887246d1047cf39d0970297.tar.gz
jalv-4488a3cc23477f05d887246d1047cf39d0970297.tar.bz2
jalv-4488a3cc23477f05d887246d1047cf39d0970297.zip
Don't send UI updates if UI is not present (correct fix for r4513).
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4539 a436a847-0d15-0410-975c-d299462d15a1
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;