aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/echo.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-05-25 11:54:51 -0700
committerChris Robinson <[email protected]>2019-05-25 11:54:51 -0700
commit8ca97a7d9a336b9de7a1d1dc400279e8de76d65e (patch)
treea98d548e9625aa8850e7e6d00ae5af8741c1424a /Alc/effects/echo.cpp
parent5b5dee07b43808907fba0d2dff5a00ea9069048b (diff)
Move a couple functions into its related class
Diffstat (limited to 'Alc/effects/echo.cpp')
-rw-r--r--Alc/effects/echo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/echo.cpp b/Alc/effects/echo.cpp
index 9cd6fb87..158ab856 100644
--- a/Alc/effects/echo.cpp
+++ b/Alc/effects/echo.cpp
@@ -102,7 +102,7 @@ void EchoState::update(const ALCcontext *context, const ALeffectslot *slot, cons
const ALfloat gainhf{maxf(1.0f - props->Echo.Damping, 0.0625f)}; /* Limit -24dB */
mFilter.setParams(BiquadType::HighShelf, gainhf, LOWPASSFREQREF/frequency,
- calc_rcpQ_from_slope(gainhf, 1.0f));
+ mFilter.rcpQFromSlope(gainhf, 1.0f));
mFeedGain = props->Echo.Feedback;