diff options
author | Chris Robinson <[email protected]> | 2008-10-09 01:07:02 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-10-09 01:07:02 -0700 |
commit | c8cd1933469a280e113b23347d2f0e80ebd160c4 (patch) | |
tree | 60f11314f140853525503b4904970bd542c68911 /Alc/ALu.c | |
parent | be292e5f0b71745ce4a5ce668fae2529a3fdd084 (diff) |
The wet path should be silent if no effect is set on the slot
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -452,7 +452,8 @@ static ALvoid CalcSourceParams(ALCcontext *ALContext, ALsource *ALSource, else pitch[0] = ALSource->flPitch; - if(ALSource->Send[0].Slot) + if(ALSource->Send[0].Slot && + ALSource->Send[0].Slot->effect.type != AL_EFFECT_NULL) { // If the slot's auxilliary send auto is off, the data sent to the // effect slot is the same as the dry path, sans filter effects |