forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 7f487c10e98d32efa4e4b554b778d2eea5d16efdFiltered to crates/engine/tests/invalidation.rsClear filter

2026-08-13

🐛 fix(mix): a setting nobody can hear stops rebuilding the soundAhmet Kaan Gümüş · 0689e40
🐛 fix(mix): a setting nobody can hear stops rebuilding the sound

Two ways the mix handle lied about who was listening.

A ceiling dragged while the limiter is **off** was a full audio rebuild per
nudge on the flat single-lane timeline -- a flush, a re-open and a hole in
the sound for a number that changes not one sample, because there was no
mixer to hand it to and rebuilding was the only thing `push_mix` knew. It
now rebuilds only for a setting that actually needs a mixer
(`AudioSession::is_mixed`), and hands everything else nowhere, which is
where it belongs.

And the handle left over from an open that found nothing -- a silent
timeline, a source that would not open -- read as a live mixer forever
after, so a fader moved later was written into a `MixControls` no thread
was reading and never retried. The feeder marks it detached when its open
comes back without a mixer (`MixControls::detach`/`is_reachable`), and a
mix that cannot be reached rebuilds instead.

Guard: 20 ceiling nudges with the limiter off leave the device queue full
and start no worker, beside the existing fader/limiter test.

2026-08-11

🐛 fix(subs+eos): the plate reads the map the file is written from, and a knob past the end leaves the end aloneAhmet Kaan Gümüş · 2bee9c3
🐛 fix(subs+eos): the plate reads the map the file is written from, and a knob past the end leaves the end alone

The overlay and the timeline strip drew every subtitle track on the raw
timeline clock while the export carried an embedded track through the cuts
(export::timeline_cues), so a rippled timeline previewed one thing and wrote
another. Both now ask that one map through PlaybackSession::timeline_cues --
preview and file agree by construction, and a standalone .srt keeps the
timeline clock it always had.

And the end of stream: is_eos promised that "any edit after the end revives
the session", which a sound-only edit never did. The transport's own model
says it should not -- eos means the picture worker ran out, reseek_audio
starts no picture worker, and reviving on an EQ tweak would spend the Ended
state that makes the next press restart from the top. The doc now states that
rule and a test pins it.
✨ feat(engine): an edit rebuilds what it dirtied, and nothing elseAhmet Kaan Gümüş · c2e62a3
✨ feat(engine): an edit rebuilds what it dirtied, and nothing else

Every param change went through one funnel -- edit() -> seek() -- which
flushed the audio ring, reopened every track, respawned the feeder and
rebuilt the video decoder. Dragging a colour slider therefore cut the
sound ~40 times across one gesture, and every restart re-anchored the
clock onto an empty ring, so the silence of the restart was counted as
timeline time: a permanent A/V offset, re-rolled by every edit made
while playing (the resolution-change desync).

Edits are classified by what they dirty now. A grade, a fit policy and
the project resolution rebuild the picture where it stands and never
touch a sample. An equalizer rebuilds the sound and never touches the
picture. A fader and the master ceiling rebuild nothing at all: they
live at the mix sum, so the running mixer picks them up between two
blocks (MixControls), and the limiter is retuned rather than restarted
so its delay line -- and the sample count the master clock is made of --
keeps running. Only a structural edit still reseeks both halves.

And a restart no longer costs an offset: the feeder stamps the device
position its first real sample was queued at, and the clock anchors
there instead of on the first poll after the seek, so the silence before
the content is never timeline time.

Also: a span whose source will not open no longer presents the old
channel's frames under the new mapping, and the feeder stops parking
10 ms on a ring that is merely waiting out a flush.