aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 85cb6332..b0e9ea24 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1086,8 +1086,8 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size)
}
/* effect slot processing */
- slot = ctx->ActiveEffectSlots;
- slot_end = slot + ctx->ActiveEffectSlotCount;
+ slot = VECTOR_ITER_BEGIN(ctx->ActiveAuxSlots);
+ slot_end = VECTOR_ITER_END(ctx->ActiveAuxSlots);
while(slot != slot_end)
{
ALfloat offset = (*slot)->ClickRemoval[0];