mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 14:43:57 +01:00
See http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c31 and http://bugzilla.audacityteam.org/show_bug.cgi?id=451#c32.
This commit is contained in:
@@ -708,7 +708,7 @@ bool EffectNoiseRemoval::ProcessOne(int count, WaveTrack * track,
|
||||
double tLen = mOutputTrack->LongSamplesToTime(len);
|
||||
// Filtering effects always end up with more data than they started with. Delete this 'tail'.
|
||||
mOutputTrack->HandleClear(tLen, mOutputTrack->GetEndTime(), false, false);
|
||||
track->ClearAndPaste(t0, t0 + tLen, mOutputTrack, true, false);
|
||||
wxASSERT(track->ClearAndPaste(t0, t0 + tLen, mOutputTrack, true, false));
|
||||
}
|
||||
|
||||
// Delete the outputTrack now that its data is inserted in place
|
||||
|
||||
Reference in New Issue
Block a user