From b56fd19a2010782dca6b823cbcc067ece132c49c Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Tue, 26 Sep 2017 15:57:44 +0200 Subject: [PATCH] [DEV] update new ETK --- audio/algo/chunkware/Limiter.cpp | 2 +- audio/algo/chunkware/Limiter.hpp | 6 +++--- test/main.cpp | 24 ++++++++++++------------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/audio/algo/chunkware/Limiter.cpp b/audio/algo/chunkware/Limiter.cpp index 0363047..d1684fd 100644 --- a/audio/algo/chunkware/Limiter.cpp +++ b/audio/algo/chunkware/Limiter.cpp @@ -81,7 +81,7 @@ void audio::algo::chunkware::Limiter::init(int8_t _nbChannel) { void audio::algo::chunkware::FastEnvelope::setCoef() { // rises to 99% of in value over duration of time constant - m_coefficient = std::pow(0.01, (1000.0 / (m_timeMs * m_sampleRate))); + m_coefficient = etk::pow(0.01, (1000.0 / (m_timeMs * m_sampleRate))); } etk::Vector audio::algo::chunkware::Limiter::getSupportedFormat() { diff --git a/audio/algo/chunkware/Limiter.hpp b/audio/algo/chunkware/Limiter.hpp index cf8bbcb..d61d612 100644 --- a/audio/algo/chunkware/Limiter.hpp +++ b/audio/algo/chunkware/Limiter.hpp @@ -28,7 +28,7 @@ #include