forked from hkc/cc-stuff
1
0
Fork 0

Foxed an oopsie

This commit is contained in:
Casey 2024-09-15 03:12:15 +03:00
parent 330bfa8f80
commit 3cb26f3b54
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 1 additions and 2 deletions

View File

@ -171,10 +171,9 @@ table.insert(subthreads, function()
term.setBackgroundColor(colors.gray) term.setBackgroundColor(colors.gray)
term.clearLine() term.clearLine()
term.write(string.format("Waiting for frames... (V:%d, A:%d) [ENTER to skip]", #frames, #audio_frames.l)) term.write(string.format("Waiting for frames... (V:%d, A:%d) [ENTER to skip]", #frames, #audio_frames.l))
if #frames < 60 and #audio_frames.l < n_audio_samples and not wait_until_input then if #frames > 60 and #audio_frames.l >= n_audio_samples and not wait_until_input then
break break
end end
os.sleep(0.25)
end end
playback_locked = false playback_locked = false
end) end)