Commit 5aa63802 authored by David Reid's avatar David Reid

Update test_0.

parent fe8f67d3
......@@ -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);
}
......
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