Update documentation.

This commit is contained in:
David Reid
2022-01-22 12:11:13 +10:00
parent 930b5fe45c
commit 1395b5e7cf
2 changed files with 9 additions and 6 deletions
+3 -1
View File
@@ -444,7 +444,7 @@ The <span style="font-family:monospace;">onInitFile</span>, <span style="font-fa
<span style="color:#0033ff">return</span>;
}
ma_data_source_read_pcm_frames(pDataSource, pOutput, frameCount, NULL, MA_TRUE);
ma_data_source_read_pcm_frames(pDataSource, pOutput, frameCount, NULL);
(<span style="color:#0033ff">void</span>)pInput;
}
@@ -489,6 +489,8 @@ The <span style="font-family:monospace;">onInitFile</span>, <span style="font-fa
<span style="color:#0033ff">return</span> -1;
}
ma_data_source_set_looping(&amp;decoder, MA_TRUE);
<span style="color:#009900">/* Initialize the device. */</span>
result = ma_data_source_get_data_format(&amp;decoder, &amp;format, &amp;channels, &amp;sampleRate, NULL, 0);