From 1ac7f483da1fc1432d3d22ca96cb97c32aaf2088 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 11 May 2023 18:50:15 +0200 Subject: [PATCH] VST3: set non-automatable parameters (#9321) --- libs/ardour/vst3_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/vst3_plugin.cc b/libs/ardour/vst3_plugin.cc index 793df852c6..cc47c3324e 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1957,7 +1957,7 @@ VST3PI::set_parameter (uint32_t p, float value, int32 sample_off, bool to_list, if (_shadow_data[p] == value && sample_off == 0 && to_list && !force) { return; } - if (to_list && parameter_is_automatable (p)) { + if (to_list && (sample_off == 0 || parameter_is_automatable (p))) { set_parameter_internal (id, value, sample_off); } _shadow_data[p] = value;