aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_sse.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-15 01:31:58 -0700
committerChris Robinson <[email protected]>2012-10-15 01:31:58 -0700
commita14383d6ccd3f5e373ed3576c8fd2adce27a4597 (patch)
treeab6df3a28dd0743f8d06565a41da5d45b4fd56d4 /Alc/mixer_sse.c
parentfe1903fb56e918cbbcbf66966c75581788fd9d5b (diff)
Constify the direct and send parameters given to the mixer
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r--Alc/mixer_sse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c
index deff3232..540a0d72 100644
--- a/Alc/mixer_sse.c
+++ b/Alc/mixer_sse.c
@@ -17,7 +17,7 @@
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)
{
const __m128 lrlr = { left, right, left, right };
@@ -133,7 +133,7 @@ static __inline void ApplyCoeffs(ALuint Offset, ALfloat (*RESTRICT Values)[2],
#undef SUFFIX
-void MixDirect_SSE(DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan,
+void MixDirect_SSE(const DirectParams *params, const ALfloat *RESTRICT data, ALuint srcchan,
ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize)
{
ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = params->OutBuffer;
@@ -171,7 +171,7 @@ void MixDirect_SSE(DirectParams *params, const ALfloat *RESTRICT data, ALuint sr
}
-void MixSend_SSE(SendParams *params, const ALfloat *RESTRICT data,
+void MixSend_SSE(const SendParams *params, const ALfloat *RESTRICT data,
ALuint OutPos, ALuint SamplesToDo, ALuint BufferSize)
{
ALeffectslot *Slot = params->Slot;