app: leave the soundtrack alone when the clip stops drawing
record-daemon / Build, check and test (push) Failing after 1m27s

A window that is not drawing stops pulling the clip, so the picture time
stands still while the soundtrack keeps playing from its own reader. The
sync loop read that growing gap as drift and seeked the sound back to the
standing place on every wake, which repeats one second forever. Measured
with a window over the app: the picture stayed at 430.83 s for 6192 wakes
while the sound ran from 495.66 to 495.82.

Only correct the soundtrack once the picture time has moved since the
last correction.

docs/rune-upstream.md records the three rune faults behind this and the
black pause, with the file to change and how to check a fix. Rune main
does not fix them (the video code is unchanged) and does not build on
Windows here.
This commit is contained in:
vhaudiquet committed 2026-11-19 00:29:37 +01:00
1 parent f6ccbf59bc
commit 4aac0ac70b
3 files changed
+65

No files matched your search

+5
View File
@@ -30,3 +30,8 @@ cargo run -- --snap /tmp/live.png --live --at 40 # real daemon and recordings
History uses `<area>: <imperative summary>`, for example `app: open the review screen from a
card` or `record-daemon: stop writing a log per game`. Lowercase after the colon, no trailing
period, subject at most 72 characters. The body says why, wrapped at 80 columns.
## Rune gaps
`docs/rune-upstream.md` lists the faults we work around in rune, with the file to change and how
to check a fix.