mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-08 19:41:30 +00:00
* Preview: the sound plays on through stalls, the picture drops frames (#2473) A preview whose rendering fell behind stopped its sound at the first frame that wasn't cached and started it again once frames were cached, which chopped it into bursts. Now the sound plays on: the picture shows the latest frame rendered up to the sound, and the prefetch and the cache's eviction order follow the sound's frame rather than the picture's. The stall backoff from #3272 no longer has anything to do and is removed. The start of a preview still waits for its first frames (#947). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> * Preview: a picture behind its sound never shows past the sound's frame `latest_cached_before` stopped only on the sound's exact frame, which a picture off the plan's frame step steps over and a sound behind the picture in a non-looping preview never reaches, so it could return a frame ahead of the sound. The walk now stops at the first frame that isn't between the picture and the sound in play order (across the loop's end once the sound has wrapped). Also brings `Playback::starting`'s doc up to date. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>