diff options
-rw-r--r-- | Alc/mixer_c.c | 2 | ||||
-rw-r--r-- | Alc/mixer_neon.c | 2 | ||||
-rw-r--r-- | Alc/mixer_sse.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c index 1635476a..e468fedb 100644 --- a/Alc/mixer_c.c +++ b/Alc/mixer_c.c @@ -73,7 +73,7 @@ const ALfloat *Resample_bsinc_C(const InterpState *state, const ALfloat *restric ALsizei dstlen) { const ALfloat *fil, *scd, *phd, *spd; - const ALfloat *filter = state->bsinc.filter; + const ALfloat *const filter = state->bsinc.filter; const ALfloat sf = state->bsinc.sf; const ALsizei m = state->bsinc.m; ALsizei j_f, pi, i; diff --git a/Alc/mixer_neon.c b/Alc/mixer_neon.c index 3345290c..58929e1a 100644 --- a/Alc/mixer_neon.c +++ b/Alc/mixer_neon.c @@ -141,7 +141,7 @@ const ALfloat *Resample_bsinc_Neon(const InterpState *state, const ALfloat *restrict src, ALsizei frac, ALint increment, ALfloat *restrict dst, ALsizei dstlen) { - const ALfloat *filter = state->bsinc.filter; + const ALfloat *const filter = state->bsinc.filter; const float32x4_t sf4 = vdupq_n_f32(state->bsinc.sf); const ALsizei m = state->bsinc.m; const ALfloat *fil, *scd, *phd, *spd; diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index c2514c46..5273a088 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -16,7 +16,7 @@ const ALfloat *Resample_bsinc_SSE(const InterpState *state, const ALfloat *restr ALsizei frac, ALint increment, ALfloat *restrict dst, ALsizei dstlen) { - const ALfloat *filter = state->bsinc.filter; + const ALfloat *const filter = state->bsinc.filter; const __m128 sf4 = _mm_set1_ps(state->bsinc.sf); const ALsizei m = state->bsinc.m; const ALfloat *fil, *scd, *phd, *spd; |