Update test_0.

This commit is contained in:
David Reid
2019-03-01 17:51:32 +10:00
parent fe8f67d3da
commit 5aa63802ae
+1 -1
View File
@@ -2239,7 +2239,7 @@ void on_send__playback_test(mal_device* pDevice, void* pOutput, const void* pInp
mal_assert(pData != NULL);
#if !defined(__EMSCRIPTEN__)
mal_uint64 framesRead = mal_decoder_read_pcm_frames(pData->pDecoder, frameCount, pOutput);
mal_uint64 framesRead = mal_decoder_read_pcm_frames(pData->pDecoder, pOutput, frameCount);
if (framesRead == 0) {
mal_event_signal(&pData->endOfPlaybackEvent);
}