mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-31 07:59:27 +02:00
Fix compilation of old NoiseRemoval
This commit is contained in:
parent
e7c0862546
commit
4c6306e6d6
@ -79,7 +79,7 @@
|
||||
EFFECT( NOISEREDUCTION, EffectNoiseReduction, () )
|
||||
#else
|
||||
#define NOISEREDUCTION_EFFECT \
|
||||
EFFECT( NOISEREMOVAL, EffectNoiseRemoval() )
|
||||
EFFECT( NOISEREMOVAL, EffectNoiseRemoval, () )
|
||||
#endif
|
||||
|
||||
//
|
||||
|
@ -594,7 +594,7 @@ bool EffectNoiseRemoval::ProcessOne(int count, WaveTrack * track,
|
||||
samplePos += blockSize;
|
||||
|
||||
// Update the Progress meter
|
||||
if (TrackProgress(count, (samplePos - start) / (double)len)) {
|
||||
if (TrackProgress(count, (samplePos - start).as_double() / len.as_double())) {
|
||||
bLoopSuccess = false;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user