Browse Source

Fix dsp::dbToAmplitude() for simd:: types.

tags/v2.5.0
Andrew Belt 1 year ago
parent
commit
d87bf878eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      include/dsp/common.hpp

+ 1
- 1
include/dsp/common.hpp View File

@@ -47,7 +47,7 @@ T amplitudeToDb(T amp) {

template <typename T>
T dbToAmplitude(T db) {
return std::pow(10, db / 20);
return simd::pow(10, db / 20);
}

// Functions for parameter scaling


Loading…
Cancel
Save