v0.3.0
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.
Languages
Rust
100%