Skip to main content

Module aac

Module aac 

Source
Available on crate features codec-aac and codec only.
Expand description

AAC helpers: ADTS frame-header parsing.

Structs§

AdtsHeader
A decoded ADTS frame header (7-byte fixed + variable header).

Constants§

SAMPLE_RATES
MPEG-4 sampling-frequency table indexed by sampling_frequency_index.

Functions§

parse_adts
Parse the ADTS header at the start of data. Returns None if the syncword is absent or the buffer is too short.