diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 11:31:18 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 11:31:18 -0400 |
commit | 1d4494961b598055c94b8239e294c03c6ac1aaa8 (patch) | |
tree | 6e8281367aa48f98c5719defc2fa4788e077053d /gtk2_ardour | |
parent | 8533b8244f2d96814b6c0ccc6d1315edc89e7de9 (diff) |
add commentary
Diffstat (limited to 'gtk2_ardour')
-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 */ |