summaryrefslogtreecommitdiffstats
path: root/Alc/effects/echo.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-11 10:09:52 -0700
committerChris Robinson <[email protected]>2014-05-11 10:09:52 -0700
commit3582a44dfffedd76c4254a6c91d62055d707d239 (patch)
treece0b547c3fe382c063eb693610d0e69a181ef2bd /Alc/effects/echo.c
parent343200d2296f8ceb14371d12d6032056ec7fb9a3 (diff)
Make LOWPASSFREQREF a float value
Diffstat (limited to 'Alc/effects/echo.c')
-rw-r--r--Alc/effects/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/echo.c b/Alc/effects/echo.c
index 9513a611..049ae9c7 100644
--- a/Alc/effects/echo.c
+++ b/Alc/effects/echo.c
@@ -97,7 +97,7 @@ static ALvoid ALechoState_update(ALechoState *state, ALCdevice *Device, const AL
ALfilterState_setParams(&state->Filter, ALfilterType_HighShelf,
1.0f - Slot->EffectProps.Echo.Damping,
- (ALfloat)LOWPASSFREQREF/frequency, 0.0f);
+ LOWPASSFREQREF/frequency, 0.0f);
gain = Slot->Gain;
dirGain = fabsf(lrpan);