13
0

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
This commit is contained in:
Robin Gareus 2024-09-14 17:46:14 +02:00
parent 0ed82d2f50
commit 9602a11ef3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -475,6 +475,7 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title)
if (_lv2->parameter_is_output(i) && is_update_wanted(i)) { if (_lv2->parameter_is_output(i) && is_update_wanted(i)) {
_output_ports.push_back (i); _output_ports.push_back (i);
_values_last_sent_to_ui[i] -= 1; // force update
} }
} }