diff options
author | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-28 17:15:34 -0700 |
commit | b4d56d3fdff4243ae2a3fc64934ced2af3187690 (patch) | |
tree | 9a9809e2e991037aa5798a05ab7321d143b95e5f /Alc/mixer | |
parent | c8bbd75bf9a6f0170ec95b130b3eb17cd8cdd5ad (diff) |
Remove the UNUSED macro
Diffstat (limited to 'Alc/mixer')
-rw-r--r-- | Alc/mixer/mixer_c.cpp | 5 | ||||
-rw-r--r-- | Alc/mixer/mixer_neon.cpp | 5 | ||||
-rw-r--r-- | Alc/mixer/mixer_sse2.cpp | 5 | ||||
-rw-r--r-- | Alc/mixer/mixer_sse41.cpp | 5 |
4 files changed, 8 insertions, 12 deletions
diff --git a/Alc/mixer/mixer_c.cpp b/Alc/mixer/mixer_c.cpp index 86a9e438..b9d51c9c 100644 --- a/Alc/mixer/mixer_c.cpp +++ b/Alc/mixer/mixer_c.cpp @@ -70,9 +70,8 @@ const ALfloat *DoResample(const InterpState *state, const ALfloat *RESTRICT src, } // namespace template<> -const ALfloat *Resample_<CopyTag,CTag>(const InterpState* UNUSED(state), - const ALfloat *RESTRICT src, ALsizei UNUSED(frac), ALint UNUSED(increment), - ALfloat *RESTRICT dst, ALsizei dstlen) +const ALfloat *Resample_<CopyTag,CTag>(const InterpState*, const ALfloat *RESTRICT src, ALsizei, + ALint, ALfloat *RESTRICT dst, ALsizei dstlen) { ASSUME(dstlen > 0); #if defined(HAVE_SSE) || defined(HAVE_NEON) diff --git a/Alc/mixer/mixer_neon.cpp b/Alc/mixer/mixer_neon.cpp index c30e9861..81d0ff67 100644 --- a/Alc/mixer/mixer_neon.cpp +++ b/Alc/mixer/mixer_neon.cpp @@ -15,9 +15,8 @@ template<> -const ALfloat *Resample_<LerpTag,NEONTag>(const InterpState* UNUSED(state), - const ALfloat *RESTRICT src, ALsizei frac, ALint increment, - ALfloat *RESTRICT dst, ALsizei dstlen) +const ALfloat *Resample_<LerpTag,NEONTag>(const InterpState*, const ALfloat *RESTRICT src, + ALsizei frac, ALint increment, ALfloat *RESTRICT dst, ALsizei dstlen) { const int32x4_t increment4 = vdupq_n_s32(increment*4); const float32x4_t fracOne4 = vdupq_n_f32(1.0f/FRACTIONONE); diff --git a/Alc/mixer/mixer_sse2.cpp b/Alc/mixer/mixer_sse2.cpp index 2b594d90..b5d00106 100644 --- a/Alc/mixer/mixer_sse2.cpp +++ b/Alc/mixer/mixer_sse2.cpp @@ -28,9 +28,8 @@ template<> -const ALfloat *Resample_<LerpTag,SSE2Tag>(const InterpState* UNUSED(state), - const ALfloat *RESTRICT src, ALsizei frac, ALint increment, - ALfloat *RESTRICT dst, ALsizei dstlen) +const ALfloat *Resample_<LerpTag,SSE2Tag>(const InterpState*, const ALfloat *RESTRICT src, + ALsizei frac, ALint increment, ALfloat *RESTRICT dst, ALsizei dstlen) { const __m128i increment4{_mm_set1_epi32(increment*4)}; const __m128 fracOne4{_mm_set1_ps(1.0f/FRACTIONONE)}; diff --git a/Alc/mixer/mixer_sse41.cpp b/Alc/mixer/mixer_sse41.cpp index 55639f11..7efbda7b 100644 --- a/Alc/mixer/mixer_sse41.cpp +++ b/Alc/mixer/mixer_sse41.cpp @@ -29,9 +29,8 @@ template<> -const ALfloat *Resample_<LerpTag,SSE4Tag>(const InterpState* UNUSED(state), - const ALfloat *RESTRICT src, ALsizei frac, ALint increment, - ALfloat *RESTRICT dst, ALsizei dstlen) +const ALfloat *Resample_<LerpTag,SSE4Tag>(const InterpState*, const ALfloat *RESTRICT src, + ALsizei frac, ALint increment, ALfloat *RESTRICT dst, ALsizei dstlen) { const __m128i increment4{_mm_set1_epi32(increment*4)}; const __m128 fracOne4{_mm_set1_ps(1.0f/FRACTIONONE)}; |