mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-09 22:53:55 +01:00
Fix compilation of old NoiseRemoval
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user