1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-04 13:40:58 +01:00

Reviewed uses of InconsistencyException outside Sequence.cpp

This commit is contained in:
Paul Licameli
2017-11-18 22:18:49 -05:00
parent 2f40c1c77e
commit f136b5c530
6 changed files with 28 additions and 7 deletions

View File

@@ -471,7 +471,7 @@ bool EffectTruncSilence::DoRemoval
mTruncLongestAllowedSilence);
}
double cutLen = inLength - outLength;
double cutLen = std::max(0.0, inLength - outLength);
totalCutLen += cutLen;
TrackListIterator iterOut(mOutputTracks.get());