forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 14aa2ed8dbfd654957a7ec99aa63eb2d6d876c59Filtered to crates/ec-ac3/src/decode.rsClear filter

2026-08-14

feat(ac3): AC-3 decoder — coupling, rematrixing, DRC and the public surfaceAhmet Kaan Gümüş · 5bc2be2
feat(ac3): AC-3 decoder — coupling, rematrixing, DRC and the public surface

One packet is one syncframe; frames come out as interleaved f32 in the
family's channel order, with an optional section 7.8 Lo/Ro downmix for
callers that want stereo. Dynamic range compression is applied by default
because section 7.7.1 says a decoder shall, with drc_scale to turn it
down; dialnorm is surfaced and never applied.

Every fixture decodes to a per-channel correlation of 1.000000 against
ffmpeg (mono, stereo and 5.1 at 32/44.1/48 kHz).