diff options
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/echo.c | 2 | ||||
-rw-r--r-- | Alc/effects/reverb.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/echo.c b/Alc/effects/echo.c index a45f3398..9d17ead0 100644 --- a/Alc/effects/echo.c +++ b/Alc/effects/echo.c @@ -104,7 +104,7 @@ static ALvoid ALechoState_Update(ALechoState *state, ALCdevice *Device, const AL state->FeedGain = Slot->EffectProps.Echo.Feedback; - ALfilterState_setParams(&state->Filter, ALfilterType_LowPass, + ALfilterState_setParams(&state->Filter, ALfilterType_HighShelf, 1.0f - Slot->EffectProps.Echo.Damping, (ALfloat)LOWPASSFREQREF/frequency, 0.0f); diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c index 5d85ee7b..74f2368c 100644 --- a/Alc/effects/reverb.c +++ b/Alc/effects/reverb.c @@ -1095,7 +1095,7 @@ static ALvoid ALreverbState_Update(ALreverbState *State, ALCdevice *Device, cons freq_scale = Slot->EffectProps.Reverb.HFReference / frequency; else freq_scale = (ALfloat)LOWPASSFREQREF / frequency; - ALfilterState_setParams(&State->LpFilter, ALfilterType_LowPass, + ALfilterState_setParams(&State->LpFilter, ALfilterType_HighShelf, Slot->EffectProps.Reverb.GainHF, freq_scale, 0.0f); |