[Openal] Reverb problems

Mariusz 'MX' Szaflik mxadd at o2.pl
Wed Jul 30 02:15:53 PDT 2008


Hi

I have some troubles with reverb on OpenAL
(win XP 32bit, sp3, Realtek AC97 audio)

Enumeration shows 2 devices in this system ('Generic software' and 'Generic 
hardware', the 'Generic hardware is the default one)
the problem is only on 'Generic hardware' device:

I'm creating reverb:

// Initializing reverb
alGenAuxiliaryEffectSlots(1, &m_AUX_ReverbSlotID);
alGenEffects(1, &m_AUX_ReverbEffect);
alEffecti(m_AUX_ReverbEffect, AL_EFFECT_TYPE, AL_EFFECT_EAXREVERB);

// all is ok, no errors

// setting reverb params
alEffectf(m_AUX_ReverbEffect, AL_EAXREVERB_DENSITY, ...); // all other 
params follow

// no errors again

// setting to slot
alAuxiliaryEffectSloti(m_AUX_ReverbSlotID, AL_EFFECTSLOT_EFFECT, 
m_AUX_ReverbEffect);

now i have couple of 'sources'
i want the reverb to be aplied only to some of them,
so for those sources I call:

alSource3i(m_ALSource, AL_AUXILIARY_SEND_FILTER, m_AUX_ReverbSlotID, 0, 
AL_FILTER_NULL);

and now the problem:
for 'generic hardware' device reverb is present for ALL sources, no mather 
what,
for 'generic software' all is correct, reverb is only on sources that I'v 
binded to it,
is there any trick to to 'fix' the 'generic hardware' implementation, or I'm 
doomed to 'generic software' ?

BTW on other mahine with Creative X-Fi - all is fine, on X-Fi reverb is 
handled correctly, so only those AC97 realtek stuff seems to be broken.








More information about the Openal mailing list