mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 08:10:05 +02:00
Steve's patch for bug 434, let's get that closed off!
This commit is contained in:
parent
c9d6e0f4ef
commit
b5af4d6120
@ -285,9 +285,8 @@ bool EffectTruncSilence::Process()
|
||||
}
|
||||
|
||||
// Intersection may create regions smaller than allowed; ignore them.
|
||||
// FIXME: See http://bugzilla.audacityteam.org/show_bug.cgi?id=434#c10 and
|
||||
// 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.0001))
|
||||
// Allow one nanosecond extra for consistent results with exact milliseconds of allowed silence.
|
||||
if ((r->end - r->start) < ((mTruncInitialAllowedSilentMs / 1000.0) - 0.000000001))
|
||||
continue;
|
||||
|
||||
// Find new silence length as requested
|
||||
|
Loading…
x
Reference in New Issue
Block a user