Remove unused functions.

This commit is contained in:
David Reid
2020-01-26 09:55:10 +10:00
parent 01c41ed329
commit a633e0f51f
-11
View File
@@ -4272,17 +4272,6 @@ static MA_INLINE float ma_mix_f32_fast(float x, float y, float a)
/*return x + (y - x)*a;*/ /*return x + (y - x)*a;*/
} }
static MA_INLINE ma_int32 ma_mix_s32_fast(ma_int32 x, ma_int32 y, float a)
{
ma_int32 r0 = (y - x);
ma_int32 r1 = (ma_int32)(r0*a);
return x + r1;
}
static MA_INLINE ma_int16 ma_mix_s16_fast(ma_int32 x, ma_int32 y, float a)
{
return (ma_int16)ma_mix_s32_fast(x, y, a);
}
#if defined(MA_SUPPORT_SSE2) #if defined(MA_SUPPORT_SSE2)
static MA_INLINE __m128 ma_mix_f32_fast__sse2(__m128 x, __m128 y, __m128 a) static MA_INLINE __m128 ma_mix_f32_fast__sse2(__m128 x, __m128 y, __m128 a)