Browse Source

Fix armv7 build

Signed-off-by: falkTX <falktx@falktx.com>
pull/1807/head
falkTX 1 year ago
parent
commit
48024ae3c7
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      source/modules/zita-resampler/resampler.cc
  2. +1
    -1
      source/modules/zita-resampler/vresampler.cc

+ 1
- 1
source/modules/zita-resampler/resampler.cc View File

@@ -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


+ 1
- 1
source/modules/zita-resampler/vresampler.cc View File

@@ -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


Loading…
Cancel
Save