- 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
This commit is contained in:
alexey.lysiuk 2020-08-09 15:05:24 +03:00
parent 0e789a9f1b
commit 271b919048

View file

@ -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);
}