Skip to content

Reverb effect still audible after setting effect slot gain to 0 #1307

Description

@Vercidium

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions