mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-21 15:56:58 +02:00
Remove a TODO.
This commit is contained in:
+12
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user