1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-24 16:01:16 +02:00

Steve's patch for bug 434, let's get that closed off!

This commit is contained in:
martynshaw99 2013-12-05 00:29:17 +00:00
parent c9d6e0f4ef
commit b5af4d6120

View File

@ -285,9 +285,8 @@ bool EffectTruncSilence::Process()
} }
// Intersection may create regions smaller than allowed; ignore them. // Intersection may create regions smaller than allowed; ignore them.
// FIXME: See http://bugzilla.audacityteam.org/show_bug.cgi?id=434#c10 and // Allow one nanosecond extra for consistent results with exact milliseconds of allowed silence.
// http://bugzilla.audacityteam.org/show_bug.cgi?id=434#c11 about the 0.0001 fudge factor. if ((r->end - r->start) < ((mTruncInitialAllowedSilentMs / 1000.0) - 0.000000001))
if ((r->end - r->start) < ((mTruncInitialAllowedSilentMs / 1000.0) - 0.0001))
continue; continue;
// Find new silence length as requested // Find new silence length as requested