diff options
author | Chris Robinson <[email protected]> | 2009-11-19 10:29:10 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-11-19 10:29:10 -0800 |
commit | 5f3c07ca3b99ac2f555c7e49dbfcb479ed0a6df8 (patch) | |
tree | 1d38ea5eb1cc1384cb2ac19fb6be222c2ed38f0d /Alc | |
parent | 8d1da6a8ca48469a10614c33e0eadc7e7f1d4f13 (diff) |
Apply the reverb room rolloff factor for EAX reverb too
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -547,7 +547,8 @@ static ALvoid CalcSourceParams(const ALCcontext *ALContext, ALsource *ALSource, RoomRolloff[i] = ALSource->RoomRolloffFactor; if(ALSource->Send[i].Slot && - ALSource->Send[i].Slot->effect.type == AL_EFFECT_REVERB) + (ALSource->Send[i].Slot->effect.type == AL_EFFECT_REVERB || + ALSource->Send[i].Slot->effect.type == AL_EFFECT_EAXREVERB)) RoomRolloff[i] += ALSource->Send[i].Slot->effect.Reverb.RoomRolloffFactor; } |