diff --git a/Source/PlaybackWarpProcessor.cpp b/Source/PlaybackWarpProcessor.cpp index 12e08803..04fe195c 100644 --- a/Source/PlaybackWarpProcessor.cpp +++ b/Source/PlaybackWarpProcessor.cpp @@ -173,10 +173,10 @@ bool PlaybackWarpProcessor::setClipPositions( void PlaybackWarpProcessor::processBlock(juce::AudioSampleBuffer& buffer, juce::MidiBuffer& midiBuffer) { auto posInfo = getPlayHead()->getPosition(); + buffer.clear(); if ((m_clips.size() == 0) || (m_clipIndex >= m_clips.size())) { // There are no clips, or we've already passed the last clip. - buffer.clear(); ProcessorBase::processBlock(buffer, midiBuffer); return; }