adjust audio playback volume in playSound function

This commit is contained in:
2025-06-16 19:58:59 -04:00
parent 2689f66e13
commit 13ce728067

View File

@@ -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, 127) do
while not speaker.playAudio(decoded, 3) do
os.pullEvent("speaker_audio_empty")
end
end