diff options
author | Chris Robinson <[email protected]> | 2018-06-01 23:47:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-06-02 00:02:14 -0700 |
commit | 48b265e136adab3d0f424bd1adbbf0641fa5697f (patch) | |
tree | b57fb97d863ba6c2e4dde00b964e9b1a4c8e0572 /Alc/effects | |
parent | 7865ebb6d5d92adb7f4c17e4765a3ebb892b3a59 (diff) |
Use a higher normalized frequency limit for the ring modulator
Diffstat (limited to 'Alc/effects')
-rw-r--r-- | Alc/effects/modulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/modulator.c b/Alc/effects/modulator.c index 495942aa..e6143001 100644 --- a/Alc/effects/modulator.c +++ b/Alc/effects/modulator.c @@ -140,7 +140,7 @@ static ALvoid ALmodulatorState_update(ALmodulatorState *state, const ALCcontext state->step = clampi(state->step, 1, WAVEFORM_FRACONE-1); f0norm = props->Modulator.HighPassCutoff / (ALfloat)device->Frequency; - f0norm = maxf(f0norm, FLT_EPSILON); + f0norm = maxf(f0norm, 0.003125f); /* Bandwidth value is constant in octaves. */ BiquadFilter_setParams(&state->Chans[0].Filter, BiquadType_HighPass, 1.0f, f0norm, calc_rcpQ_from_bandwidth(f0norm, 0.75f)); |