1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 07:40:23 +02:00

Got rid of use of log2 which doesnt exist on older msvc

This commit is contained in:
clayton.otey@gmail.com 2010-06-08 01:06:03 +00:00
parent 60faec3b24
commit 3e44c2d3b9

View File

@ -115,7 +115,7 @@ inline double HalfStepsToPercentChange(double halfSteps)
inline double PercentChangeToHalfSteps(double percentChange)
{
return 12.0 * log2(PercentChangeToRatio(percentChange));
return 17.312340490667560888319096172023 * log(PercentChangeToRatio(percentChange));
}
bool EffectTimeScale::Process()