1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-06 07:09:39 +02:00

Bug 2367 - Change Pitch effect may create spurious clip at end

This commit is contained in:
James Crook 2020-03-21 19:40:56 +00:00
parent 84d0cd0220
commit 0fe483f0e2

View File

@ -247,7 +247,7 @@ bool EffectSoundTouch::ProcessOne(WaveTrack *track,
// Take the output track and insert it in place of the original
// sample data
track->ClearAndPaste(mCurT0, mCurT1, outputTrack.get(), true, false, &warper);
track->ClearAndPaste(mCurT0, mCurT1, outputTrack.get(), false, true, &warper);
double newLength = outputTrack->GetEndTime();
m_maxNewLength = wxMax(m_maxNewLength, newLength);