When changing the AL_EFFECTSLOT_GAIN of an AL_EFFECT_EAXREVERB effect from 1.0f to 0.0f, sometimes the reverb is still audible for a few seconds.
It happens intermittently, and I've only noticed it when:
- moving the listener position
- setting
AL_EAXREVERB_DECAY_TIME via alEffectf each frame. Even if it's setting to the same value (e.g. 12.0f) each frame.
This video shows 4 spatialised sources sending their input unfiltered into the same EAX reverb effect, and then toggling the AL_EFFECTSLOT_GAIN of the effect between 1.0f and 0.0f. Normally it cuts off instantly, but at the end of the video it is still audible for a few seconds, then cuts off.
The reverb effect's gain and decay time is visible at the bottom of the screen:
https://www.youtube.com/watch?v=Y75Y1RdBmXk
I've reproduced this on v1.25.0 and v1.25.2.
When changing the
AL_EFFECTSLOT_GAINof anAL_EFFECT_EAXREVERBeffect from1.0fto0.0f, sometimes the reverb is still audible for a few seconds.It happens intermittently, and I've only noticed it when:
AL_EAXREVERB_DECAY_TIMEviaalEffectfeach frame. Even if it's setting to the same value (e.g.12.0f) each frame.This video shows 4 spatialised sources sending their input unfiltered into the same EAX reverb effect, and then toggling the
AL_EFFECTSLOT_GAINof the effect between1.0fand0.0f. Normally it cuts off instantly, but at the end of the video it is still audible for a few seconds, then cuts off.The reverb effect's gain and decay time is visible at the bottom of the screen:
https://www.youtube.com/watch?v=Y75Y1RdBmXk
I've reproduced this on v1.25.0 and v1.25.2.