From 9602a11ef3b6baf12f0bafa3543e17239d9a4a67 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 14 Sep 2024 17:46:14 +0200 Subject: [PATCH] LV2: push output port data to GUI at first run This fixes an issue with some plugins UIs that depend on a "changed" signal e.g. zynaddsubfx --- gtk2_ardour/lv2_plugin_ui.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index 45e1a464cf..afe9382440 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -475,6 +475,7 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title) if (_lv2->parameter_is_output(i) && is_update_wanted(i)) { _output_ports.push_back (i); + _values_last_sent_to_ui[i] -= 1; // force update } }