Commit 0eadb0f3 authored by David Reid's avatar David Reid

Make ma_linear_resampler_set_rate_ratio() more accurate.

parent a6eb7d6a
...@@ -51648,7 +51648,7 @@ MA_API ma_result ma_linear_resampler_set_rate_ratio(ma_linear_resampler* pResamp ...@@ -51648,7 +51648,7 @@ MA_API ma_result ma_linear_resampler_set_rate_ratio(ma_linear_resampler* pResamp
return MA_INVALID_ARGS; return MA_INVALID_ARGS;
} }
d = 1000; d = 1000000;
n = (ma_uint32)(ratioInOut * d); n = (ma_uint32)(ratioInOut * d);
if (n == 0) { if (n == 0) {
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