Skip to content

Commit

Permalink
Update PlaybackWarpProcessor.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
DBraun committed Feb 3, 2023
1 parent c96d2a9 commit d0d97e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/PlaybackWarpProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d0d97e4

Please sign in to comment.