aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer/mixer_neon.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-22 18:53:09 -0700
committerChris Robinson <[email protected]>2019-08-22 18:53:09 -0700
commitb7ab8b68962f3c3db486baf3fc8654df696408dc (patch)
treed0ee4404900bcc61361975371a388d8dffe91c3a /alc/mixer/mixer_neon.cpp
parent7ad2ed965c9506476f44a5d51deaa4de6b8557bf (diff)
Fix a variable declaration
Diffstat (limited to 'alc/mixer/mixer_neon.cpp')
-rw-r--r--alc/mixer/mixer_neon.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/alc/mixer/mixer_neon.cpp b/alc/mixer/mixer_neon.cpp
index 991443c9..472eae1b 100644
--- a/alc/mixer/mixer_neon.cpp
+++ b/alc/mixer/mixer_neon.cpp
@@ -94,10 +94,9 @@ const ALfloat *Resample_<BSincTag,NEONTag>(const InterpState *state, const ALflo
#undef FRAC_PHASE_BITDIFF
// Apply the scale and phase interpolated filter.
- r4 = vdupq_n_f32(0.0f);
+ float32x4_t r4{vdupq_n_f32(0.0f)};
{
- const ALsizei count = m >> 2;
- const float32x4_t pf4 = vdupq_n_f32(pf);
+ const float32x4_t pf4{vdupq_n_f32(pf)};
const float *fil{filter + m*pi*4};
const float *scd{fil + m};
const float *phd{scd + m};