13
0

add commentary

This commit is contained in:
Paul Davis 2015-10-20 11:31:18 -04:00
parent 8533b8244f
commit 1d4494961b

View 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 */