diff --git a/source/modules/zita-resampler/resampler.cc b/source/modules/zita-resampler/resampler.cc index 1bbeff5a3..542932b88 100644 --- a/source/modules/zita-resampler/resampler.cc +++ b/source/modules/zita-resampler/resampler.cc @@ -282,7 +282,7 @@ bool Resampler::process (void) S = vmlaq_f32 (S, vextq_f32 (T, T, 2), C2 [i]); S = vmlaq_f32 (S, vld1q_f32 (q1), C1 [i]); } - *out_data++ = vaddvq_f32(S); + *out_data++ = S [0] + S [1] + S [2] + S [3]; } #else diff --git a/source/modules/zita-resampler/vresampler.cc b/source/modules/zita-resampler/vresampler.cc index 313bfdcdc..146e5e10a 100644 --- a/source/modules/zita-resampler/vresampler.cc +++ b/source/modules/zita-resampler/vresampler.cc @@ -314,7 +314,7 @@ bool VResampler::process (void) S = vmlaq_f32 (S, vextq_f32 (T, T, 2), C2 [i]); S = vmlaq_f32 (S, vld1q_f32 (q1), C1 [i]); } - *out_data++ = vaddvq_f32 (S); + *out_data++ = S [0] + S [1] + S [2] + S [3]; } #else