mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-19 17:11:12 +02:00
Got rid of use of log2 which doesnt exist on older msvc
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user