1
0
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:
v.audacity
2011-11-18 03:47:43 +00:00
parent e275189f1e
commit 458152070e
13 changed files with 76 additions and 44 deletions

View File

@@ -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