vst: use the keyswitch change flag from 3.7.3

This commit is contained in:
Jean Pierre Cimalando 2021-09-20 03:21:24 +02:00
parent e3dcaa7d9b
commit 6735d77e63

View file

@ -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) {