diff options
author | Chris Robinson <[email protected]> | 2008-01-20 22:16:28 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-01-20 22:16:28 -0800 |
commit | 9a5e892cad7b71fd38ebfede9c923f2804806bd7 (patch) | |
tree | f1357aa4847183f981b4ce4401a75023dcd86edf /Alc/ALu.c | |
parent | 03173626622d277f6cdcdc016e29733ca37d4b26 (diff) |
Small formatting updates
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; } |