diff options
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r-- | Alc/alcReverb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c index 84cda102..562587e6 100644 --- a/Alc/alcReverb.c +++ b/Alc/alcReverb.c @@ -1113,7 +1113,8 @@ static ALvoid ReverbUpdate(ALeffectState *effect, ALCcontext *Context, const ALe } // Calculate the master low-pass filter (from the master effect HF gain). - cw = CalcI3DL2HFreq(Slot->effect.Reverb.HFReference, frequency); + if(isEAX) cw = CalcI3DL2HFreq(Slot->effect.Reverb.HFReference, frequency); + else cw = CalcI3DL2HFreq(LOWPASSFREQCUTOFF, frequency); // This is done with 2 chained 1-pole filters, so no need to square g. State->LpFilter.coeff = lpCoeffCalc(Slot->effect.Reverb.GainHF, cw); |