From c8cd1933469a280e113b23347d2f0e80ebd160c4 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Thu, 9 Oct 2008 01:07:02 -0700 Subject: [PATCH] The wet path should be silent if no effect is set on the slot --- Alc/ALu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Alc/ALu.c b/Alc/ALu.c index c85ddb9e..adf8fd5e 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -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 -- 2.11.4.GIT