From f7ec8b00167309e4570e398115157e7ec3b2a59d Mon Sep 17 00:00:00 2001 From: Peter Sobot Date: Tue, 21 May 2024 10:56:53 -0400 Subject: [PATCH] Whoops. --- pedalboard/ExternalPlugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pedalboard/ExternalPlugin.h b/pedalboard/ExternalPlugin.h index 4b3de24e..b7d60d12 100644 --- a/pedalboard/ExternalPlugin.h +++ b/pedalboard/ExternalPlugin.h @@ -1288,7 +1288,7 @@ class ExternalPlugin : public AbstractExternalPlugin, juce::AudioPlayHead { std::memset((void *)outputArrayPointer, 0, sizeof(float) * numChannels * outputSampleCount); - juce::AudioBuffer emptyBuffer(channelPointers.size(), 0); + juce::AudioBuffer emptyBuffer(numChannels, 0); juce::MidiBuffer emptyMidiBuffer; currentPositionInfo.isPlaying = true;