Commit ed6ad79e authored by David Reid's avatar David Reid

Don't use generic seeking with the linear resampler.

parent f704b627
...@@ -1224,7 +1224,8 @@ static ma_result ma_resampler_process_pcm_frames__seek__linear(ma_resampler* pRe ...@@ -1224,7 +1224,8 @@ static ma_result ma_resampler_process_pcm_frames__seek__linear(ma_resampler* pRe
{ {
MA_ASSERT(pResampler != NULL); 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) #if defined(MA_HAS_SPEEX_RESAMPLER)
......
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