1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-16 19:26:36 +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

@@ -189,7 +189,8 @@ void Effect::GetSamples(WaveTrack *track, sampleCount *start, sampleCount *len)
t1 = t0 + mLength;
if (mT0 == mT1) {
// Not really part of the calculation, but convenient to put here
wxASSERT(track->InsertSilence(t0, t1));
bool bResult = track->InsertSilence(t0, t1);
wxASSERT(bResult); // TO DO: Actually handle this.
}
}