Bug fixes to the resampler.

This commit is contained in:
David Reid
2026-02-20 08:46:00 +10:00
parent 0aef190a59
commit d39c874736
+9
View File
@@ -62664,6 +62664,12 @@ static ma_result ma_resampler_process_pcm_frames_no_input_output(ma_resampler* p
ma_uint64 frameCountIn;
ma_uint64 frameCountOut;
frameCountIn = *pFrameCountIn;
frameCountOut = *pFrameCountOut;
/* The input needs to be treated as silence. */
MA_ZERO_MEMORY(framesIn, sizeof(framesIn));
totalFramesProcessedIn = 0;
totalFramesProcessedOut = 0;
@@ -62761,6 +62767,9 @@ static ma_result ma_resampler_process_pcm_frames_no_output(ma_resampler* pResamp
return ma_resampler_process_pcm_frames_no_input_output(pResampler, pFrameCountIn, pFrameCountOut);
}
frameCountIn = *pFrameCountIn;
frameCountOut = *pFrameCountOut;
totalFramesProcessedIn = 0;
totalFramesProcessedOut = 0;