diff options
Diffstat (limited to 'vst/drumgizmo_vst.cc')
-rw-r--r-- | vst/drumgizmo_vst.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vst/drumgizmo_vst.cc b/vst/drumgizmo_vst.cc index 6e26ea4..70d0847 100644 --- a/vst/drumgizmo_vst.cc +++ b/vst/drumgizmo_vst.cc @@ -444,6 +444,12 @@ void DrumGizmoVst::initProcess() void DrumGizmoVst::processReplacing(float** inputs, float** outputs, VstInt32 sampleFrames) { + long lvl = getCurrentProcessLevel(); + // 0 = realtime/normal + // 1 = non-realtime/rendering + // 2 = offline processing + drumgizmo->setFreeWheel(lvl != 0); + output->setOutputs(outputs); if(buffer_size != (size_t)sampleFrames) { |