mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix some invalid code in example.
This commit is contained in:
+1
-1
@@ -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.
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user