mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-06 14:25:39 +00:00
AudioStream: Fix compiling with clang/arm64
This commit is contained in:
parent
0006c54c46
commit
4f5722c932
|
@ -390,8 +390,8 @@ static void FloatChunkToS16(s32* dst, const float* src, uint size)
|
||||||
|
|
||||||
for (u32 i = 0; i < iterations; i++)
|
for (u32 i = 0; i < iterations; i++)
|
||||||
{
|
{
|
||||||
float32x4_t fv1 = vld1q_s32(src + 0);
|
float32x4_t fv1 = vld1q_f32(src + 0);
|
||||||
float32x4_t fv2 = vld1q_s32(src + 4);
|
float32x4_t fv2 = vld1q_f32(src + 4);
|
||||||
src += 8;
|
src += 8;
|
||||||
|
|
||||||
fv1 = vmulq_f32(fv1, FLOAT_TO_S16_V);
|
fv1 = vmulq_f32(fv1, FLOAT_TO_S16_V);
|
||||||
|
|
Loading…
Reference in a new issue