1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-19 08:14:52 +00:00
CC-Tweaked/src/main/java/dan200/computercraft/client
Jonathan Coates aa36b49c50
Enqueue audio when receiving it
While Minecraft will automatically push a new buffer when one is
exhausted, this doesn't help if there's only a single buffer in the
queue, and you end up with stutter.

By enquing a buffer when receiving sound we ensure there's always
something queued. I'm not 100% happy with this solution, but it does
alleviate some of the concerns in #993.

Also reduce the size of the client buffer to 0.5s from 1.5s. This is
still enough to ensure seamless audio when the server is running slow (I
tested at 13 tps, but should be able to go much worse).
2021-12-19 19:50:43 +00:00
..
gui Use duplicate() instead of rewind() 2021-12-18 11:23:12 +00:00
render Add a debug overlay for monitors and turtles 2021-11-23 21:14:06 +00:00
sound Enqueue audio when receiving it 2021-12-19 19:50:43 +00:00
ClientHooks.java Add arbitrary audio support to speakers (#982) 2021-12-13 22:56:59 +00:00
ClientRegistry.java Allow opening pocket computers without rendering a terminal 2021-08-30 18:52:02 +01:00
ClientTableFormatter.java Remove m_ (#658) 2021-01-15 16:35:49 +00:00
FrameInfo.java 2020 -> 2021 2021-01-06 17:13:40 +00:00