mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
Fix some problems with asserts in 11308. Further wording corrections.
This commit is contained in:
@@ -708,7 +708,8 @@ 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);
|
||||
wxASSERT(track->ClearAndPaste(t0, t0 + tLen, mOutputTrack, true, false));
|
||||
bool bResult = track->ClearAndPaste(t0, t0 + tLen, mOutputTrack, true, false);
|
||||
wxASSERT(bResult); // TO DO: Actually handle this.
|
||||
}
|
||||
|
||||
// Delete the outputTrack now that its data is inserted in place
|
||||
|
||||
Reference in New Issue
Block a user