diff options
author | David Robillard <d@drobilla.net> | 2016-10-05 05:22:42 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-05 05:22:42 -0400 |
commit | 227b462dc73ff4b1b99e26b5d4f2150d73417728 (patch) | |
tree | 642bcb7d79d5d0b826f76abdad5a8eb3f4f735a9 | |
parent | 866a90be1360627eba3a06340fba42b453d161e1 (diff) | |
download | jalv-227b462dc73ff4b1b99e26b5d4f2150d73417728.tar.gz jalv-227b462dc73ff4b1b99e26b5d4f2150d73417728.tar.bz2 jalv-227b462dc73ff4b1b99e26b5d4f2150d73417728.zip |
Tidy
-rw-r--r-- | src/jack.c | 9 | ||||
-rw-r--r-- | wscript | 8 |
2 files changed, 7 insertions, 10 deletions
@@ -203,9 +203,7 @@ jack_process_cb(jack_nframes_t nframes, void* data) jalv->plugin_latency = port->control; jack_recompute_total_latencies(client); } - } - - if (port->flow == FLOW_OUTPUT && port->type == TYPE_EVENT) { + } else if (port->flow == FLOW_OUTPUT && port->type == TYPE_EVENT) { void* buf = NULL; if (port->sys_port) { buf = jack_port_get_buffer(port->sys_port, nframes); @@ -230,9 +228,8 @@ jack_process_cb(jack_nframes_t nframes, void* data) jalv_send_to_ui(jalv, p, type, size, body); } } - } else if (send_ui_updates - && port->flow != FLOW_INPUT - && port->type == TYPE_CONTROL) { + } else if (send_ui_updates && + port->flow == FLOW_OUTPUT && port->type == TYPE_CONTROL) { char buf[sizeof(ControlChange) + sizeof(float)]; ControlChange* ev = (ControlChange*)buf; ev->index = p; @@ -21,19 +21,19 @@ def options(opt): autowaf.set_options(opt) opt.add_option('--no-jack-session', action='store_true', default=False, dest='no_jack_session', - help="Do not build JACK session support") + help='Do not build JACK session support') opt.add_option('--no-gtk', action='store_true', default=False, dest='no_gtk', - help="Do not build Gtk GUI") + help='Do not build Gtk GUI') opt.add_option('--no-gtkmm', action='store_true', default=False, dest='no_gtkmm', - help="Do not build Gtkmm GUI") + help='Do not build Gtkmm GUI') opt.add_option('--no-gtk2', action='store_true', dest='no_gtk2', help='Do not build Gtk2 GUI') opt.add_option('--no-gtk3', action='store_true', dest='no_gtk3', help='Do not build Gtk3 GUI') opt.add_option('--no-qt', action='store_true', default=False, dest='no_qt', - help="Do not build Qt GUI") + help='Do not build Qt GUI') opt.add_option('--no-qt4', action='store_true', dest='no_qt4', help='Do not build Qt4 GUI') opt.add_option('--no-qt5', action='store_true', dest='no_qt5', |