fix: correct variable reference for speakers in playTTSFile function

This commit is contained in:
2025-06-15 22:50:47 -04:00
parent b947c4abcd
commit 94ca4c973d

View File

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