This commit is contained in:
2025-06-16 19:29:03 -04:00
parent 24cd261084
commit 5bb76a4b72

View File

@@ -44,7 +44,7 @@ local function playTTSFile(speakers, value)
if not chunk then break end if not chunk then break end
local buffer = decoder(chunk) local buffer = decoder(chunk)
while not speakers.playAudio(buffer) do while not speakers.playAudio(buffer, 200) do
os.pullEvent("speaker_audio_empty") os.pullEvent("speaker_audio_empty")
end end
end end