forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on cbbd6e2ef6acafb00aeb55e460423f024126f90fFiltered to crates/ec-aac/examples/wrap_sbr.rsClear filter

2026-08-20

aac(sbr): explicit-SBR AudioSpecificConfig writer, plus a wrap-to-mp4 probe instrumentAhmet Kaan Gümüş · 9b44442
aac(sbr): explicit-SBR AudioSpecificConfig writer, plus a wrap-to-mp4 probe instrument

write_audio_specific_config never emitted the extension sf_index/
extensionAudioObjectType an AOT_SBR/AOT_PS config needs (§1.6.2.1) -- it
wrote plain GASpecificConfig fields regardless of object type, so every
config it built for an SBR-signalling caller was spec-invalid. Extended it
minimally (parse_audio_specific_config already read the extension fields
correctly, so only the writer was missing them) and added a round-trip
unit test.

Also adds crates/ec-aac/examples/wrap_sbr, the round-30/31 instrument
blocker's fix: wraps bare ADTS probe streams (the SBR patch-map scripts'
output) in an mp4 carrying this explicit-SBR ASC as their esds, so the
reference decoder has an out-of-band AudioSpecificConfig to arm HE-AAC
output from instead of only its (never-engaging) implicit per-frame
detection on bare ADTS.