forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on mainFiltered to shims/symphonia-core/src/packet.rsClear filter

2026-08-20

fix(aac-sbr-ogg): flush the terminal Vorbis block through to Ogg's granule-stated endAhmet Kaan Gümüş · b966d5e
fix(aac-sbr-ogg): flush the terminal Vorbis block through to Ogg's granule-stated end

EOS was never signalled through ec-probe/the symphonia shim, so the last
Vorbis block's un-overlapped tail (and any un-overlapped audio still sitting
in the last decoded packet) never reached the caller: the reader now hands
every audio track one synthetic, empty terminal packet once the container
itself is exhausted, and AudioDecoder::flush() is what answers it.

Trimming to the container's own granule only ever trusts two points: the
very first packet's granule (a real front pre-roll, if the format has one)
and the last one, applied once at flush -- an interior page's granule marks
where the packet finishing on that page ends, not a ceiling every later
page's cumulative output must stay under, so it is never used as one.
Vorbis's last decoded packet is held back one call rather than handed out
immediately, so that final trim can still reach into it.

2026-08-14

feat(shims): symphonia, symphonia-core and symphonia-codec-aac over ec-probeAhmet Kaan Gümüş · 32195c9
feat(shims): symphonia, symphonia-core and symphonia-codec-aac over ec-probe

Exactly the surface edith consumes (audio.rs:36-53 and its call sites):
the probe and codec registries, the format reader and audio decoder
traits, tracks, packets, units and the AAC decoder seat. Written from
those call shapes and the crates' published documentation; no symphonia
source was read (MPL-2.0 incumbent, MIT OR Apache-2.0 family).

Two incumbent defects are gone rather than worked around, and each has a
test: a Matroska seek is reliable more than once per reader (edith opens
a new reader per attempt because the incumbent's is not), and a
multichannel AAC track decodes instead of 'aac: aac too complex'.

The shim test drives every call edith makes, in the shape edith makes
it, over nine fixtures.