mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 08:29:27 +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)
|
inline double PercentChangeToHalfSteps(double percentChange)
|
||||||
{
|
{
|
||||||
return 12.0 * log2(PercentChangeToRatio(percentChange));
|
return 17.312340490667560888319096172023 * log(PercentChangeToRatio(percentChange));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EffectTimeScale::Process()
|
bool EffectTimeScale::Process()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user