Remove a TODO.

This commit is contained in:
David Reid
2026-02-14 14:56:49 +10:00
parent e2e6bb6334
commit 0f1ead0873
+12 -1
View File
@@ -59216,7 +59216,6 @@ MA_API ma_result ma_linear_resampler_init_preallocated(const ma_linear_resampler
return result;
}
/* TODO: Remove the `inTimeInt = 1` thing when the new optimizations are done. */
if (pResampler->lpfOrder == 0) {
pResampler->inTimeInt = 0;
} else {
@@ -60514,6 +60513,12 @@ static ma_result ma_linear_resampler_process_pcm_frames_s16_upsample(ma_linear_r
/* The rate must have changed between calls. Ignore the cached frame. */
}
/*
When upsampling we should never be skipping any input frames so processing should always start
from the first input frame.
*/
inTimeInt = 0;
/* Experimental loop unrolling to make it easier for SIMD-ification. */
#if 1
{
@@ -61023,6 +61028,12 @@ static ma_result ma_linear_resampler_process_pcm_frames_f32_upsample(ma_linear_r
/* The rate must have changed between calls. Ignore the cached frame. */
}
/*
When upsampling we should never be skipping any input frames so processing should always start
from the first input frame.
*/
inTimeInt = 0;
/* Experimental loop unrolling to make it easier for SIMD-ification. */
#if 1
{