From 6735d77e637db26622d14681decd3a24d5eb4393 Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 20 Sep 2021 03:21:24 +0200 Subject: [PATCH] vst: use the keyswitch change flag from 3.7.3 --- plugins/vst/SfizzVstController.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/vst/SfizzVstController.cpp b/plugins/vst/SfizzVstController.cpp index a3d38f07..dcf66b67 100644 --- a/plugins/vst/SfizzVstController.cpp +++ b/plugins/vst/SfizzVstController.cpp @@ -364,8 +364,7 @@ tresult SfizzVstControllerNoUi::notify(Vst::IMessage* message) } if (Vst::IComponentHandler* componentHandler = getComponentHandler()) - // NOTE(jpc) I think that's the right one, but it needs confirmation - componentHandler->restartComponent(Vst::kNoteExpressionChanged); + componentHandler->restartComponent(Vst::kKeyswitchChanged); // update the parameter titles and notify for (uint32 cc = 0; cc < sfz::config::numCCs; ++cc) {