Add the offline mode (freewheeling)
This commit is contained in:
parent
ee530c623d
commit
b0840ef2ad
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue