mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 17:11:12 +02:00
Convert max silence length from ms to s before applying
This commit is contained in:
@@ -590,7 +590,7 @@ bool EffectTruncSilence::Process()
|
||||
double inLength = r->end - r->start;
|
||||
double outLength = wxMin(
|
||||
mTruncInitialAllowedSilentMs / 1000.0 + (inLength - mTruncInitialAllowedSilentMs / 1000.0) / mSilenceCompressRatio,
|
||||
mTruncLongestAllowedSilentMs);
|
||||
mTruncLongestAllowedSilentMs / 1000.0);
|
||||
double cutLen = inLength - outLength;
|
||||
totalCutLen += cutLen;
|
||||
|
||||
|
Reference in New Issue
Block a user