Skip to main content

Module legacy

Module legacy 

Source
Expand description

Legacy broadcast audio (MP2, AC-3, E-AC-3) carried verbatim.

These codecs share one model: every frame is whole and self-describing (framing header included), never decoded. The importer marks only the first frame of each group a keyframe (the rest extend it); the caller bounds groups by cutting them. Verbatim is byte-exact for complete, well-formed frames; malformed or out-of-scope input is rejected as an Error, never mis-described. Each codec contributes only a header parser and a descriptor; this module owns the track lifecycle.

Enums§

Error
Legacy audio (MP2 / AC-3 / E-AC-3) header parsing errors.

Type Aliases§

Result
A Result type alias for legacy audio header parsing.