From 52112b0b8d796aa1617a560288ab12dd027fd99b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 1 Apr 2017 02:38:44 -0700 Subject: Constify a variable --- Alc/ALu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Alc') diff --git a/Alc/ALu.c b/Alc/ALu.c index 2cac3ce0..9e2b041f 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -1450,10 +1450,10 @@ void aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) /* effect slot processing */ for(i = 0;i < auxslots->count;i++) { - ALeffectslot *slot = auxslots->slot[i]; + const ALeffectslot *slot = auxslots->slot[i]; ALeffectState *state = slot->Params.EffectState; - V(state,process)(SamplesToDo, SAFE_CONST(ALfloatBUFFERSIZE*,slot->WetBuffer), - state->OutBuffer, state->OutChannels); + V(state,process)(SamplesToDo, slot->WetBuffer, state->OutBuffer, + state->OutChannels); } ctx = ctx->next; -- cgit v1.2.3