Commits
2026-10-23
🚚 edith moves to git.tahinli.comAhmet Kaan Gümüş · b02f499
🚚 edith moves to git.tahinli.com The working tree as of 2026-10-23, as one commit on top of the last one here. It carries the work up to that date plus the test-slimming work: integration tests merged into one binary per crate, nextest config, doctest = false, debug line tables only, perf tests behind --ignored, and faster generators, reverse, undo, subtitle-export, hevc, stabilise and hear tests.
2026-09-10
🐛 fix(engine): tests never open a playback deviceAhmet Kaan Gümüş · 429bf04
🐛 fix(engine): tests never open a playback device PlaybackSession::open connected a real PipeWire stream for every fixture — the 1 Hz pulse was the bip-bop on the speakers. VE_NO_AO=1 and cargo-test binaries under target/*/deps/ get a wall-clock silent sink instead; VE_AO=1 still forces the ignored ao_output suite onto the device.
2026-08-13
chore: rename ponytail: comment marker to corner-cut:Ahmet Kaan Gümüş · 9ba8e0a
chore: rename ponytail: comment marker to corner-cut: Marker convention renamed after uninstalling the ponytail plugin; semantics unchanged (deliberate corner-cut, known ceiling + upgrade path). Token-only rename, 81 comment lines, no code change.
2026-08-10
🔇 test(audio): silence the suites that reach the speakerAhmet Kaan Gümüş · 522149d
🔇 test(audio): silence the suites that reach the speaker `cargo test` played real files out of the real device: measured 0.37 of full scale on the sink monitor, 818k nonzero samples, for as long as the playback suite ran. That is somebody's desk, every run. Both suites now open through a helper that sets the gain to zero. Nothing else changes: the stream is still connected and scheduled, the samples are still decoded, written and handed over, and every assertion here is measured from the device's own position, which the gain does not touch. The one test that walks through audible gains does it on a flushed ring, where there is nothing but the underrun fill to apply them to. Measured after: peak 0, not one nonzero sample, all three suites green.
🔊 feat(audio): volume and mute for the monitoring outputAhmet Kaan Gümüş · bb07bdc
🔊 feat(audio): volume and mute for the monitoring output One knob down the stack: `ao_set_volume(handle, gain)` scales the samples in the RT callback, and mute is a gain of 0.0. Not the stream's PipeWire volume control -- WirePlumber persists every Props change into its restore state (measured on this box: the bucket gains `mute:true` ~2 s later), so a mute keypress would have become "edith has no sound" in tomorrow's system mixer, which is the bug 9ab4ebd just finished removing. Volume and mute stay independent: turning the level down while muted must not be what makes sound come out. The button says both at once. Mute is not pause -- the frames are still consumed, so the device clock, and with it the picture, runs straight through. The keybindings card's row list now scrolls inside a cap, which is the upgrade path its own ponytail named: three more actions no longer fit a 360 px window, and now no number of them can stop fitting.
2026-08-09
✨ feat(engine): seek primitives — video open_at, ao_flush, audio open_atAhmet Kaan Gümüş · 96ae365
✨ feat(engine): seek primitives — video open_at, ao_flush, audio open_at Lane 1 of the seek slice; PlaybackSession orchestration comes next. - demux/decode: stss sync lookup, DecodeSession::open_at decodes from the keyframe and discards to the target; Frame.index stays absolute. HW plugin ABI: vh_open renamed vh_open_at(path, target) — discards skip the vaGetImage readback; measured seek cost 65ms HW / 222ms SW - engine-audio: ao_flush drains the ring consumer-side in the RT callback (one-shot atomic), stale PCM unplayable even when paused; played-position atomics untouched so clock math survives - audio: open_at walks stts, 2-packet AAC pre-roll (MDCT overlap reconstructed exactly — verified 0-diff before the first PNS band), sample-exact trim; priming skip and seek discard unified. AAC seek is deliberately not bit-exact: symphonia's PNS noise LCG state depends on packet history; bounded <1e-3 by test instead
✨ feat(engine): audio decode, PipeWire output plugin, playback clockAhmet Kaan Gümüş · 229a569
✨ feat(engine): audio decode, PipeWire output plugin, playback clock Wave 1 of the audio slice — three independent modules, app wiring comes next: - audio.rs: AAC-LC via standalone symphonia AacDecoder over the existing mp4 demuxer; priming trim read from the container elst (verified against ffprobe); channel identity pinned by zero-crossing tests on the 440/880 Hz fixture - engine-audio: dlopen'd PipeWire cdylib (ao_* C ABI). App binary keeps zero libpipewire linkage; daemon absent fails open() in ~1ms. Fill capped at 1024 frames/callback: uncapped, PipeWire hands the sink-sized buffer and the position clock steps 256ms at a time. Stream time rate is 1/48000 regardless of stream rate — position is rescaled or the clock runs 8.8% fast on 44.1k content - clock.rs: PlaybackClock, audio-driven with wall fallback; audio positions relative to last re-anchor so restarted streams re-sync; paused == frozen exactly, all re-anchoring through one path