Commit 4b4c5f5d authored by David Reid's avatar David Reid

Fix an out of date example.

parent bfde6691
...@@ -770,7 +770,7 @@ you could plug in a decoder like so: ...@@ -770,7 +770,7 @@ you could plug in a decoder like so:
ma_uint64 framesRead; ma_uint64 framesRead;
ma_decoder decoder; // <-- This would be initialized with `ma_decoder_init_*()`. ma_decoder decoder; // <-- This would be initialized with `ma_decoder_init_*()`.
result = ma_data_source_read_pcm_frames(&decoder, pFramesOut, frameCount, &framesRead, loop); result = ma_data_source_read_pcm_frames(&decoder, pFramesOut, frameCount, &framesRead);
if (result != MA_SUCCESS) { if (result != MA_SUCCESS) {
return result; // Failed to read data from the decoder. return result; // Failed to read data from the decoder.
} }
...@@ -4374,7 +4374,7 @@ Logging ...@@ -4374,7 +4374,7 @@ Logging
#endif #endif
#endif #endif
#ifndef MA_ATTRIBUTE_FORMAT #ifndef MA_ATTRIBUTE_FORMAT
#define MA_ATTRIBUTE_FORMAT(fmt,va) #define MA_ATTRIBUTE_FORMAT(fmt, va)
#endif #endif
#ifndef MA_MAX_LOG_CALLBACKS #ifndef MA_MAX_LOG_CALLBACKS
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