summaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-01-23 06:29:03 -0800
committerChris Robinson <[email protected]>2012-01-23 06:29:03 -0800
commit86ef115e21cf93d08b2273278b25cae702a86024 (patch)
tree01b5269c1f7ac76dc36e0b1c28cc10d662b9eb75 /Alc/mixer.c
parent1dd8aa9b6ff21a6282c67107d6985db69809be1d (diff)
Set the source's slot send parameter to NULL if it's the AL_EFFECT_NULL type
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 0181a31a..8b3c754e 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -251,7 +251,7 @@ static void Mix_Hrtf_##T##_##sampler(ALsource *Source, ALCdevice *Device, \
ALfloat *RESTRICT WetPendingClicks; \
FILTER *WetFilter; \
\
- if(!Slot || Slot->effect.type == AL_EFFECT_NULL) \
+ if(Slot == NULL) \
continue; \
\
WetBuffer = Slot->WetBuffer; \
@@ -381,7 +381,7 @@ static void Mix_##T##_##sampler(ALsource *Source, ALCdevice *Device, \
ALfloat *WetPendingClicks; \
FILTER *WetFilter; \
\
- if(!Slot || Slot->effect.type == AL_EFFECT_NULL) \
+ if(Slot == NULL) \
continue; \
\
WetBuffer = Slot->WetBuffer; \