From 9a5e892cad7b71fd38ebfede9c923f2804806bd7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 20 Jan 2008 22:16:28 -0800 Subject: [PATCH] Small formatting updates --- Alc/ALu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Alc/ALu.c b/Alc/ALu.c index 47fa03d4..1d202f54 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -627,6 +627,7 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma while(size > 0) { //Setup variables + ALEffectSlot = (ALContext ? ALContext->AuxiliaryEffectSlot : NULL); ALSource = (ALContext ? ALContext->Source : NULL); SamplesToDo = min(size, BUFFERSIZE); @@ -895,7 +896,7 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma ALSource = ALSource->next; } - ALEffectSlot = (ALContext ? ALContext->AuxiliaryEffectSlot : NULL); + // effect slot processing while(ALEffectSlot) { if(ALEffectSlot->effect.type == AL_EFFECT_REVERB) @@ -947,6 +948,7 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma ALEffectSlot->ReverbReflectPos = ReflectPos; ALEffectSlot->LastDecaySample = LastDecaySample; } + ALEffectSlot = ALEffectSlot->next; } -- 2.11.4.GIT