mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Have ma_decoder_read_pcm_frames() return MA_AT_END.
This commit is contained in:
@@ -50226,6 +50226,10 @@ MA_API ma_result ma_decoder_read_pcm_frames(ma_decoder* pDecoder, void* pFramesO
|
||||
*pFramesRead = totalFramesReadOut;
|
||||
}
|
||||
|
||||
if (totalFramesReadOut == 0) {
|
||||
return MA_AT_END;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user