pub fn codec_utils_aac_get_sample_rate_from_index(sr_idx: u32) -> u32
Expand description

Translates the sample rate index found in AAC headers to the actual sample rate.

§sr_idx

Sample rate index as from the AudioSpecificConfig (MPEG-4 container) or ADTS frame header

§Returns

The sample rate if sr_idx is valid, 0 otherwise.