mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
LV2: fix port/nth-parameter confusion
various LV2 callbacks from plugin DSP/GUI use raw port_index,
not nth_parameter. This lead to incorrectly queued updates
(_values_last_sent_to_ui) and since 7dac8994f6 to
potential crashes (invalid _controllables[idx]).
This commit is contained in:
parent
eac3283b49
commit
190cd657b9
2 changed files with 28 additions and 40 deletions
|
|
@ -80,7 +80,7 @@ private:
|
|||
|
||||
std::shared_ptr<ARDOUR::PlugInsertBase> _pib;
|
||||
std::shared_ptr<ARDOUR::LV2Plugin> _lv2;
|
||||
std::vector<int> _output_ports;
|
||||
std::vector<uint32_t> _output_ports;
|
||||
sigc::connection _screen_update_connection;
|
||||
sigc::connection _message_update_connection;
|
||||
Gtk::Widget* _gui_widget;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue