forked from hkc/cc-stuff
Foxed an oopsie
This commit is contained in:
parent
330bfa8f80
commit
3cb26f3b54
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue