diff options
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/lv2_plugin_ui.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index 33fa2c746d..153f4efdd9 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -183,7 +183,7 @@ LV2PluginUI::output_update() if (!_inst) { return; } - + /* output ports (values set by DSP) need propagating to GUI */ uint32_t nports = _output_ports.size(); @@ -193,6 +193,10 @@ LV2PluginUI::output_update() suil_instance_port_event ((SuilInstance*)_inst, index, 4, 0, &val); } + /* Input ports marked for update because the control value changed + since the last redisplay. + */ + for (Updates::iterator i = _updates.begin(); i != _updates.end(); ++i) { float val = _lv2->get_parameter (*i); /* push current value to the GUI */ |