Make ma_linear_resampler_set_rate_ratio() more accurate.

This commit is contained in:
David Reid
2023-07-07 16:47:24 +10:00
parent a6eb7d6a6f
commit 0eadb0f30e
+1 -1
View File
@@ -51648,7 +51648,7 @@ MA_API ma_result ma_linear_resampler_set_rate_ratio(ma_linear_resampler* pResamp
return MA_INVALID_ARGS;
}
d = 1000;
d = 1000000;
n = (ma_uint32)(ratioInOut * d);
if (n == 0) {