1
0
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:
Paul Licameli 2017-02-25 18:32:05 -05:00
parent e7c0862546
commit 4c6306e6d6
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@
EFFECT( NOISEREDUCTION, EffectNoiseReduction, () )
#else
#define NOISEREDUCTION_EFFECT \
EFFECT( NOISEREMOVAL, EffectNoiseRemoval() )
EFFECT( NOISEREMOVAL, EffectNoiseRemoval, () )
#endif
//

View File

@ -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;
}