From 5a5f4f0706078891b51022c0a51cdb75e57a464f Mon Sep 17 00:00:00 2001 From: Manuel Graf Date: Sun, 21 Aug 2022 16:25:15 +0200 Subject: [PATCH] Fix low level API code example in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f9c9140..15ec2264 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ void data_callback(ma_device* pDevice, void* pOutput, const void* pInput, ma_uin return; } - ma_decoder_read_pcm_frames(pDecoder, pOutput, frameCount); + ma_decoder_read_pcm_frames(pDecoder, pOutput, (ma_uint64)frameCount, NULL); (void)pInput; }