Update documentation.

This commit is contained in:
David Reid
2025-09-08 12:02:19 +10:00
parent ceb0d74d6b
commit 9afdcd38d0
10 changed files with 52 additions and 1051 deletions
+4 -5
View File
@@ -258,13 +258,9 @@ This is the same as the custom_decoder example, only it's used with the high
rather than the low level decoding API. You can use this to add support for Opus to your games, for
example (via libopus).</p>
<div style="font-family:monospace; border:solid 1px #003800; border-left:solid 0.5em #003800; margin:1em 0em; width:100%;"><pre style="margin:0.5em 1em; padding:0; line-height:125%; overflow-x:auto;">
<span style="color:#009900">/*
For now these need to be declared before miniaudio.c due to some compatibility issues with the old
MINIAUDIO_IMPLEMENTATION system. This will change from version 0.12.
*/</span>
<span style="color:#666666">#include</span> <span style="color:#cc3300">&quot;../miniaudio.c&quot;</span>
<span style="color:#666666">#include</span> <span style="color:#cc3300">&quot;../extras/decoders/libvorbis/miniaudio_libvorbis.c&quot;</span>
<span style="color:#666666">#include</span> <span style="color:#cc3300">&quot;../extras/decoders/libopus/miniaudio_libopus.c&quot;</span>
<span style="color:#666666">#include</span> <span style="color:#cc3300">&quot;../miniaudio.c&quot;</span>
<span style="color:#666666">#include</span> <span style="color:#cc3300">&lt;stdio.h&gt;</span>
@@ -329,6 +325,9 @@ MINIAUDIO_IMPLEMENTATION system. This will change from version 0.12.
printf(<span style="color:#cc3300">&quot;Press Enter to quit...&quot;</span>);
getchar();
ma_engine_uninit(&amp;engine);
ma_resource_manager_uninit(&amp;resourceManager);
<span style="color:#0033ff">return</span> 0;
}
</pre></div></td>