diff --git a/src/surge-xt/SurgeSynthProcessor.cpp b/src/surge-xt/SurgeSynthProcessor.cpp index 45313c47438..a41cb8fec89 100644 --- a/src/surge-xt/SurgeSynthProcessor.cpp +++ b/src/surge-xt/SurgeSynthProcessor.cpp @@ -191,7 +191,6 @@ bool SurgeSynthProcessor::isBusesLayoutSupported(const BusesLayout &layouts) con void SurgeSynthProcessor::processBlock(juce::AudioBuffer &buffer, juce::MidiBuffer &midiMessages) { - surge->audio_processing_active = true; auto fpuguard = Surge::CPUFeatures::FPUStateGuard(); auto playhead = getPlayHead(); @@ -232,6 +231,7 @@ void SurgeSynthProcessor::processBlock(juce::AudioBuffer &buffer, // We have to have a stereo output return; } + surge->audio_processing_active = true; auto mainOutput = getBusBuffer(buffer, false, 0); auto mainInput = getBusBuffer(buffer, true, 0);