diff options
author | Chris Robinson <[email protected]> | 2019-08-22 18:53:09 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-22 18:53:09 -0700 |
commit | b7ab8b68962f3c3db486baf3fc8654df696408dc (patch) | |
tree | d0ee4404900bcc61361975371a388d8dffe91c3a /alc | |
parent | 7ad2ed965c9506476f44a5d51deaa4de6b8557bf (diff) |
Fix a variable declaration
Diffstat (limited to 'alc')
-rw-r--r-- | alc/mixer/mixer_neon.cpp | 5 |
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}; |