updated
This commit is contained in:
@@ -23,7 +23,7 @@ local function playSound(speaker, fileName)
|
||||
for input in values do
|
||||
print("playing audo....")
|
||||
local decoded = decoder(input)
|
||||
while not speaker.playAudio(decoded) do
|
||||
while not speaker.playAudio(decoded, 127) do
|
||||
os.pullEvent("speaker_audio_empty")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user