diff options
author | Chris Robinson <[email protected]> | 2012-10-15 01:31:58 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-10-15 01:31:58 -0700 |
commit | a14383d6ccd3f5e373ed3576c8fd2adce27a4597 (patch) | |
tree | ab6df3a28dd0743f8d06565a41da5d45b4fd56d4 /Alc/mixer_c.c | |
parent | fe1903fb56e918cbbcbf66966c75581788fd9d5b (diff) |
Constify the direct and send parameters given to the mixer
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r-- | Alc/mixer_c.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c index 9283c8e9..d9c8ca25 100644 --- a/Alc/mixer_c.c +++ b/Alc/mixer_c.c @@ -50,7 +50,7 @@ DECL_TEMPLATE(cubic32) static __inline void ApplyCoeffsStep(ALuint Offset, ALfloat (*RESTRICT Values)[2], const ALuint IrSize, ALfloat (*RESTRICT Coeffs)[2], - ALfloat (*RESTRICT CoeffStep)[2], + const ALfloat (*RESTRICT CoeffStep)[2], ALfloat left, ALfloat right) { ALuint c; @@ -83,7 +83,7 @@ static __inline void ApplyCoeffs(ALuint Offset, ALfloat (*RESTRICT Values)[2], #undef SUFFIX -void MixDirect_C(DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, +void MixDirect_C(const DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) { ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = params->OutBuffer; @@ -109,7 +109,7 @@ void MixDirect_C(DirectParams *params, const ALfloat *RESTRICT data, ALuint srcc } -void MixSend_C(SendParams *params, const ALfloat *RESTRICT data, +void MixSend_C(const SendParams *params, const ALfloat *RESTRICT data, ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize) { ALeffectslot *Slot = params->Slot; |