vhaudiquet 1d7f87f71d
record-daemon / Check and lint (Linux) (push) Successful in 1m9s
record-daemon / Build (Windows x64) (push) Successful in 2m0s
app: cut a recording's audio tracks off the UI thread
The first open of a multi-track recording re-encoded every track on the
main thread, so the channels could be muted apart. On a 27 minute clip
that is 12.8 s per track, about a minute of a window Windows marks as not
responding, which is what made a game look ready to crash the first time
it was opened. The files are cached, so only that first open paid it.

The cut now runs on a thread, and `tick` opens the channel players when
the files land, at the playhead's time and playing state. Each track is
copied instead of re-encoded, which takes 0.4 s on the same clip, and the
AAC encode stays as a fallback for a codec an m4a cannot hold. A mutex
keeps two cuts from writing the same cache file when a row is reopened
while its first cut is still running.
2026-11-19 23:20:17 +01:00
2026-11-12 23:17:21 +01:00
2026-11-12 23:17:26 +01:00
S
Description
No description provided
59 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 100%