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.
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.
If anyone can point me in any direction on how to fix it that would be great.
Cheers.