Browse Source

Updated an old powf() call.

tags/2021-05-28
jules 11 years ago
parent
commit
ebddea7765
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_basics/effects/juce_Decibels.h

+ 1
- 1
modules/juce_audio_basics/effects/juce_Decibels.h View File

@@ -43,7 +43,7 @@ public:
static Type decibelsToGain (const Type decibels, static Type decibelsToGain (const Type decibels,
const Type minusInfinityDb = (Type) defaultMinusInfinitydB) const Type minusInfinityDb = (Type) defaultMinusInfinitydB)
{ {
return decibels > minusInfinityDb ? powf ((Type) 10.0, decibels * (Type) 0.05)
return decibels > minusInfinityDb ? std::pow ((Type) 10.0, decibels * (Type) 0.05)
: Type(); : Type();
} }


Loading…
Cancel
Save