We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4f7246 commit 155c933Copy full SHA for 155c933
1 file changed
plugin/Source/PluginProcessor.cpp
@@ -942,14 +942,15 @@ bool WavetableAudioProcessor::isBusesLayoutSupported (const BusesLayout& layout)
942
void WavetableAudioProcessor::processBlock (juce::AudioBuffer<float>& buffer, juce::MidiBuffer& midi)
943
{
944
juce::ScopedNoDenormals noDenormals;
945
+
946
+ if (buffer.getNumChannels() != 2)
947
+ return;
948
949
if (! dspLock.tryEnter())
950
951
blockMissed = true;
952
return;
953
}
-
- if (buffer.getNumChannels() != 2)
- return;
954
955
if (midiLearn)
956
midiLearn->processBlock (midi, buffer.getNumSamples());
0 commit comments