Add the offline mode (freewheeling)

This commit is contained in:
Jean Pierre Cimalando 2020-03-06 13:37:12 +01:00 committed by Paul Fd
parent ee530c623d
commit b0840ef2ad

View file

@ -145,6 +145,11 @@ tresult PLUGIN_API SfizzVstProcessor::process(Vst::ProcessData& data)
return kResultTrue;
}
if (data.processMode == Vst::kOffline)
synth.enableFreeWheeling();
else
synth.disableFreeWheeling();
if (Vst::IParameterChanges* pc = data.inputParameterChanges)
processControllerChanges(*pc);