Commit e0a9bf1b authored by David Reid's avatar David Reid

Fix some invalid code in example.

parent 31e13966
...@@ -751,7 +751,7 @@ To read data from a data source: ...@@ -751,7 +751,7 @@ To read data from a data source:
ma_result result; ma_result result;
ma_uint64 framesRead; ma_uint64 framesRead;
result = ma_data_source_read_pcm_frames(pDataSource, pFramesOut, frameCount, &framesRead, loop); result = ma_data_source_read_pcm_frames(pDataSource, pFramesOut, frameCount, &framesRead);
if (result != MA_SUCCESS) { if (result != MA_SUCCESS) {
return result; // Failed to read data from the data source. return result; // Failed to read data from the data source.
} }
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