Commit 31086c5d authored by David Reid's avatar David Reid

Fix bugs in ma_resampler_get_required_input_frame_count().

parent 5df3c0ce
...@@ -4285,7 +4285,7 @@ static MA_INLINE ma_int32 ma_mix_s32_fast(ma_int32 x, ma_int32 y, float a) ...@@ -4285,7 +4285,7 @@ static MA_INLINE ma_int32 ma_mix_s32_fast(ma_int32 x, ma_int32 y, float a)
return x + r1; 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); return (ma_int16)ma_mix_s32_fast(x, y, a);
} }
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment