From fa038afb8234022420dd5b88531fcb64ff27ac1c Mon Sep 17 00:00:00 2001 From: Nathan Singer Date: Sun, 15 Jun 2025 15:58:49 -0400 Subject: [PATCH] fixes logic AU test failure --- Source/PluginProcessor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/PluginProcessor.cpp b/Source/PluginProcessor.cpp index 83b2198..88ccfb1 100644 --- a/Source/PluginProcessor.cpp +++ b/Source/PluginProcessor.cpp @@ -131,6 +131,8 @@ void ReverbAudioProcessor::processBlock (juce::AudioBuffer& buffer, juce: juce::ScopedNoDenormals noDenormals; auto totalNumInputChannels = getTotalNumInputChannels(); auto totalNumOutputChannels = getTotalNumOutputChannels(); + if (totalNumInputchannels != 2) // Logic will fail AU tests if this isn't here + return; // In case we have more outputs than inputs, this code clears any output