aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-05-28 10:57:38 -0700
committerChris Robinson <[email protected]>2013-05-28 10:57:38 -0700
commit48aa1e10d64d7c62cab856a0c5d7f9e140efbd6b (patch)
tree737726d31ce2cee1b548108c41493c3b2451d57f /Alc/effects/reverb.c
parent6556626055e9985251ebd782c8551839e6d67ac5 (diff)
Use the high-shelf filter in place of low-pass
They effectively both work to lower (or raise) high frequencies. However, the high-shelf performs better when gain=1.
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r--Alc/effects/reverb.c2
1 files changed, 1 insertions, 1 deletions
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);