Remove vertical scroll bars from code sections.

This commit is contained in:
David Reid
2025-09-08 12:05:49 +10:00
parent 9afdcd38d0
commit 27acc82695
24 changed files with 154 additions and 154 deletions
+2 -2
View File
@@ -283,7 +283,7 @@ consistently read from the head data source this state will become inconsistent
work correctly. When using a chain, this pointer needs to be reset if you need to play the
chain again from the start:
</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;">
<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; overflow-y:hidden;">
ma_data_source_set_current(&amp;headDataSource, &amp;headDataSource);
ma_data_source_seek_to_pcm_frame(&amp;headDataSource, 0);
</pre></div><p>
@@ -292,7 +292,7 @@ The code above is setting the &quot;current&quot; data source in the chain to th
starting the chain from the start again. It is also seeking the head data source back to the start
so that playback starts from the start as expected. You do not need to seek non-head items back to
the start as miniaudio will do that for you internally.</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;">
<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; overflow-y:hidden;">
<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>