From dac8feb98bdde51b98c5601f39cf6512589c6cd6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 3 Feb 2023 05:18:34 +0100 Subject: [PATCH] VST3: fix plugin GUI value notification (#9212) OnParameterChange uses the plain (not normalized value) --- 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 4644eb5179..dab4db9df1 100644 --- a/libs/ardour/vst3_plugin.cc +++ b/libs/ardour/vst3_plugin.cc @@ -1518,7 +1518,7 @@ VST3PI::performEdit (Vst::ParamID id, Vst::ParamValue v) _update_ctrl[idx->second] = true; /* set_parameter_internal() is called via OnParameterChange */ value = _controller->normalizedParamToPlain (id, value); - OnParameterChange (ValueChange, idx->second, v); /* EMIT SIGNAL */ + OnParameterChange (ValueChange, idx->second, value); /* EMIT SIGNAL */ } return kResultOk; }