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:
parent
60faec3b24
commit
3e44c2d3b9
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user