gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 4229f9539178e3b207db4d933c74bab5153b6e70
parent bcc886d1cd60c24913d03c20fec3e84b91698c45
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Sun,  9 Jun 2024 15:57:22 +0200

notify host about play mode change

Diffstat:
Msource/virusJucePlugin/VirusEditor.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/virusJucePlugin/VirusEditor.cpp b/source/virusJucePlugin/VirusEditor.cpp @@ -396,7 +396,7 @@ namespace genericVirusUI const auto playMode = getController().getParameterIndexByName(Virus::g_paramPlayMode); auto* param = getController().getParameter(playMode); - param->setUnnormalizedValue(_playMode, pluginLib::Parameter::Origin::Ui); + param->setUnnormalizedValueNotifyingHost(_playMode, pluginLib::Parameter::Origin::Ui); // we send this directly here as we request a new arrangement below, we don't want to wait on juce to inform the knob to have changed getController().sendParameterChange(*param, _playMode);