update volume

This commit is contained in:
2025-12-12 16:07:40 -05:00
parent 256a7ecca6
commit facaef5983

View File

@@ -43,7 +43,7 @@ local function play(name)
for chunk in io.lines(filePath, 16 * 1024) do
local buffer = decoder(chunk)
while not speaker.playAudio(buffer) do
while not speaker.playAudio(buffer, 3.0) do
os.pullEvent("speaker_audio_empty")
end
end