add commentary
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 20 Oct 2015 15:31:18 +0000 (11:31 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 20 Oct 2015 15:31:18 +0000 (11:31 -0400)
gtk2_ardour/lv2_plugin_ui.cc

index 33fa2c746d1b94468d30fa5d8b65ad453c889abc..153f4efdd93bf37c34c60708502dc23d0d7b356b 100644 (file)
@@ -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 */