mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Update documentation.
This commit is contained in:
@@ -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(&decoder, MA_TRUE);
|
||||
|
||||
|
||||
<span style="color:#009900">/* Initialize the device. */</span>
|
||||
result = ma_data_source_get_data_format(&decoder, &format, &channels, &sampleRate, NULL, 0);
|
||||
|
||||
Reference in New Issue
Block a user