1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

Fix progress indicator again: must do a floating-point division...

... or else just get zero!
This commit is contained in:
Paul Licameli 2016-08-25 22:09:24 -04:00
parent 954a914ff7
commit 8e42f8a61a

View File

@ -125,7 +125,9 @@ bool CompareAudioCommand::Apply(CommandExecutionContext context)
}
position += block;
Progress((position - s0) / length);
Progress(
double(position - s0) / double(length)
);
}
delete [] buff0;