Fix bugs in ma_resampler_get_required_input_frame_count().

This commit is contained in:
David Reid
2020-01-19 11:12:35 +10:00
parent 5df3c0ce15
commit 31086c5de9
2 changed files with 54 additions and 86 deletions
+1 -1
View File
@@ -4285,7 +4285,7 @@ static MA_INLINE ma_int32 ma_mix_s32_fast(ma_int32 x, ma_int32 y, float a)
return x + r1;
}
static MA_INLINE ma_int32 ma_mix_s16_fast(ma_int32 x, ma_int32 y, float a)
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);
}