From 8ed545ae56b9f3f3c228fc61a5c296184213a736 Mon Sep 17 00:00:00 2001 From: David Reid Date: Thu, 30 Dec 2021 05:49:02 +1000 Subject: [PATCH] Another documentation fix. Public issue https://github.com/mackron/miniaudio/issues/385 --- miniaudio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miniaudio.h b/miniaudio.h index f11c1567..b3f2f8c0 100644 --- a/miniaudio.h +++ b/miniaudio.h @@ -2453,7 +2453,7 @@ read. If this is less than the requested number of PCM frames it means you've re return value will be `MA_AT_END` if no samples have been read and the end has been reached. ```c - ma_uint64 framesRead = ma_decoder_read_pcm_frames(pDecoder, pFrames, framesToRead, &framesRead); + ma_result result = ma_decoder_read_pcm_frames(pDecoder, pFrames, framesToRead, &framesRead); if (framesRead < framesToRead) { // Reached the end. }