diff options
author | Chris Robinson <[email protected]> | 2017-04-01 02:38:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-04-01 02:38:44 -0700 |
commit | 52112b0b8d796aa1617a560288ab12dd027fd99b (patch) | |
tree | ad6e559de1d35dddff73c8317c346a3c86ed16f9 /Alc/ALu.c | |
parent | 1ef916a54b56fa07821f4a72699ada55894fdca6 (diff) |
Constify a variable
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |