13
0

VST3: fix plugin GUI value notification (#9212)

OnParameterChange uses the plain (not normalized value)
This commit is contained in:
Robin Gareus 2023-02-03 05:18:34 +01:00
parent d0a51f017a
commit dac8feb98b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;
}