Skip to content

Clipping/Crackling when generating an auxiliary effect slot, even if not assigned an effect and passed to a source. Intensifies when passing to a source. #1290

Description

@BekimS

Hello, I have been having an issue with effects/auxiliary effect slots. Whenever I have create an auxiliary effect slot, it causes a slight clipping/crackling when sounds are played, even if they do not have the effect slot passed into them and also when using AL_EFFECT_NULL. It becomes very obvious if I am using an effect like Reverb/EAXReverb.

ALuint effect;
alGenEffects(1, &effect);
alEffecti(effect, AL_EFFECT_TYPE, AL_EFFECT_NULL);
//alEffecti(effect, AL_EFFECT_TYPE, AL_EFFECT_EAXREVERB);

ALuint effectSlot;
alGenAuxiliaryEffectSlots(1, &effectSlot);
alAuxiliaryEffectSloti(effectSlot, AL_EFFECTSLOT_EFFECT, effect);

alGenSources(MAX_VOICES, alSourceIDs);
for (unsigned int i = 0; i < MAX_VOICES; i++)
{
	alSource3i(alSourceIDs[i], AL_AUXILIARY_SEND_FILTER, effectSlot, 0, AL_FILTER_NULL);
}

If anyone can point me in any direction on how to fix it that would be great.
Cheers.

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