8000 Bump audio buffer to 128 bytes · python-ugame/circuitpython-stage@0d2c083 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0d2c083

Browse files
committed
Bump audio buffer to 128 bytes
1 parent e2a3180 commit 0d2c083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class Audio:
156156

157157
def __init__(self, speaker_pin, mute_pin=None):
158158
self.muted = True
159-
self.buffer = bytearray(64)
159+
self.buffer = bytearray(128)
160160
if mute_pin:
161161
self.mute_pin = digitalio.DigitalInOut(mute_pin)
162162
self.mute_pin.switch_to_output(value=not self.muted)

0 commit comments

Comments
 (0)
0