1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2026-07-01 00:58:51 +00:00

A couple of small doc tweaks

This commit is contained in:
Jonathan Coates
2026-04-07 21:53:34 +01:00
parent 19b8433653
commit b04aa8543f
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -55,6 +55,9 @@ Once you're ready to start programming, have a read of the [the architecture doc
not a comprehensive document, it gives a good hint of where you should start looking to make your changes. As always, if
you're not sure, [do ask the community][community]!
Generative AI contributions are *not* welcome. PRs containing, or suspected of containing, code output by a generative
AI model will be immediately rejected.
### Testing
When making larger changes, it may be useful to write a test to make sure your code works as expected.
+1 -1
View File
@@ -51,7 +51,7 @@ speaker.playAudio(buffer)
```
## Streaming audio
You might notice that the above snippet only generates a short bit of audio - 2.7s seconds to be precise. While we could
You might notice that the above snippet only generates a short bit of audio - a little over 2.7 seconds. While we could
try increasing the number of loop iterations, we'll get an error when we try to play it through the speaker: the sound
buffer is too large for it to handle.