summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 2 insertions, 1 deletions
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