forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 8dbd683068d7f87f21dcc4ed1dfdca786d82c52bFiltered to shims/rusty_vorbis/tests/edith_surface.rsClear filter

2026-08-20

fix(vorbis): flush() delivers the terminal block's un-overlapped tailAhmet Kaan Gümüş · 750facc
fix(vorbis): flush() delivers the terminal block's un-overlapped tail

VorbisDecoder::flush() set drained=true and returned without emitting
self.lap, the accumulator holding the last decoded block's samples past
the final centre that had not yet been overlap-added into an output
frame. Per Vorbis I §1.3.2 those samples, up to the stream's final
granule position, are valid output the decoder must deliver — dropping
them left every decode exactly one hop (1024 samples at typical rates)
short of the encoded length at true EOS.

flush() now emits any non-empty self.lap as one final Frame::Audio,
permuted through the same to_ec channel map decode_audio uses, before
marking drained.

Also converts encode.rs's debug_tail_granule_44100_mono from a
panic-driven probe into a real assertion (packets==45, last
granule==44100), and adds oracle.rs::flush_delivers_the_terminal_hop,
a decoder-trait (send_packet/receive_frame/flush) round trip over a
sample count that is deliberately not a multiple of the hop, checking
exact output length and tail correlation against the source.

2026-08-14

feat(vorbis): rusty_vorbis shim over ec-vorbisAhmet Kaan Gümüş · 2127132
feat(vorbis): rusty_vorbis shim over ec-vorbis

Carries the incumbent's name and version, and drops the two behaviours
the replica corrects by hand: the pre-roll hop and the stereo-only setup
header.