From 271b919048c1d59ffed4b35e6eb57fa445f4a207 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 9 Aug 2020 15:05:24 +0300 Subject: [PATCH] - fixed ARM64 compilation errors reported by Xcode 12 beta 4 thirdparty/dumb/src/helpers/resampler.c:927:43: error: invalid operands to binary expression thirdparty/dumb/src/helpers/resampler.c:1132:13: error: called object type 'const float *' is not a function or function pointer --- thirdparty/dumb/src/helpers/resampler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/dumb/src/helpers/resampler.c b/thirdparty/dumb/src/helpers/resampler.c index d608c8c..10b08f3 100644 --- a/thirdparty/dumb/src/helpers/resampler.c +++ b/thirdparty/dumb/src/helpers/resampler.c @@ -924,7 +924,7 @@ static int resampler_run_blam(resampler * r, float ** out_, float * out_end) sample = in[0]; if (phase_inc.quad < 0x100000000ll) - sample += (in[1] - in[0]) * phase; + sample += (in[1] - in[0]) * phase.quad; sample -= last_amp; if (sample) @@ -1127,7 +1127,7 @@ static int resampler_run_cubic(resampler * r, float ** out_, float * out_end) phase.quad += phase_inc.quad; - ADD_HI(in, phase) + ADD_HI(in, phase); CLEAR_HI(phase); }