mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix a compilation error when using MA_USE_REFERENCE_CONVERSION_APIS.
This commit is contained in:
+6
-4
@@ -34002,7 +34002,6 @@ static MA_INLINE void ma_pcm_f32_to_s16__optimized(void* dst, const void* src, m
|
||||
dst_s16[i] = (ma_int16)x;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(MA_SUPPORT_SSE2)
|
||||
static MA_INLINE void ma_pcm_f32_to_s16__sse2(void* dst, const void* src, ma_uint64 count, ma_dither_mode ditherMode)
|
||||
@@ -34097,7 +34096,8 @@ static MA_INLINE void ma_pcm_f32_to_s16__sse2(void* dst, const void* src, ma_uin
|
||||
dst_s16[i] = (ma_int16)x;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif /* SSE2 */
|
||||
|
||||
#if defined(MA_SUPPORT_AVX2)
|
||||
static MA_INLINE void ma_pcm_f32_to_s16__avx2(void* dst, const void* src, ma_uint64 count, ma_dither_mode ditherMode)
|
||||
{
|
||||
@@ -34219,7 +34219,8 @@ static MA_INLINE void ma_pcm_f32_to_s16__avx2(void* dst, const void* src, ma_uin
|
||||
dst_s16[i] = (ma_int16)x;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif /* AVX2 */
|
||||
|
||||
#if defined(MA_SUPPORT_NEON)
|
||||
static MA_INLINE void ma_pcm_f32_to_s16__neon(void* dst, const void* src, ma_uint64 count, ma_dither_mode ditherMode)
|
||||
{
|
||||
@@ -34323,7 +34324,8 @@ static MA_INLINE void ma_pcm_f32_to_s16__neon(void* dst, const void* src, ma_uin
|
||||
dst_s16[i] = (ma_int16)x;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif /* Neon */
|
||||
#endif /* MA_USE_REFERENCE_CONVERSION_APIS */
|
||||
|
||||
void ma_pcm_f32_to_s16(void* dst, const void* src, ma_uint64 count, ma_dither_mode ditherMode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user