Don't use generic seeking with the linear resampler.

This commit is contained in:
David Reid
2020-01-26 11:24:02 +10:00
parent f704b62767
commit ed6ad79e24
+2 -1
View File
@@ -1224,7 +1224,8 @@ static ma_result ma_resampler_process_pcm_frames__seek__linear(ma_resampler* pRe
{
MA_ASSERT(pResampler != NULL);
return ma_resampler_process_pcm_frames__seek__generic(pResampler, pFramesIn, pFrameCountIn, pFrameCountOut);
/* Seeking is supported natively by the linear resampler. */
return ma_linear_resampler_process_pcm_frames(pResampler, pFramesIn, pFrameCountIn, NULL, pFrameCountOut);
}
#if defined(MA_HAS_SPEEX_RESAMPLER)