Browse Source

Typo

master
Charlie Ritter 1 week ago
parent
commit
ebe261945c
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      track3.html

+ 5
- 5
track3.html View File

@ -230,11 +230,11 @@ play_sine(struct sio_hdl *hdl, double seconds)
actually pretty simple: just multiply by one less than the
maximum <code>short</code>, which is \(32767\). Then all we
have to do is assign it to both the left
<code>samples[i]</code> and the right <code>samples[i +
1]</code> channels! Once we have our buffer, write it to the
soundcard or audio server<sup><a id="fnret:4"
href="#fn:4">[4]</a></sup> and we hear a sweet, sweet sine
wave.
<code>samples[i]</code> and the right
<code>samples[i + 1]</code> channels! Once we have our
buffer, write it to the soundcard or audio
server<sup><a id="fnret:4" href="#fn:4">[4]</a></sup> and we
hear a sweet, sweet sine wave.
</p>
</section>
<section>

Loading…
Cancel
Save