mirror of
https://github.com/ZDoom/ZMusic.git
synced 2024-11-23 12:22:30 +00:00
- 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:
parent
0e789a9f1b
commit
271b919048
1 changed files with 2 additions and 2 deletions
4
thirdparty/dumb/src/helpers/resampler.c
vendored
4
thirdparty/dumb/src/helpers/resampler.c
vendored
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue