diff options
-rw-r--r-- | Alc/effects/echo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/echo.c b/Alc/effects/echo.c index 4293674f..672cdaca 100644 --- a/Alc/effects/echo.c +++ b/Alc/effects/echo.c @@ -126,7 +126,7 @@ static ALvoid ALechoState_update(ALechoState *state, const ALCdevice *Device, co state->FeedGain = props->Echo.Feedback; - gain = minf(1.0f - props->Echo.Damping, 0.0625f); /* Limit -24dB */ + gain = maxf(1.0f - props->Echo.Damping, 0.0625f); /* Limit -24dB */ ALfilterState_setParams(&state->Filter, ALfilterType_HighShelf, gain, LOWPASSFREQREF/frequency, calc_rcpQ_from_slope(gain, 1.0f)); |