codecUtilsAacGetSampleRateFromIndex

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

uint
codecUtilsAacGetSampleRateFromIndex
(
uint srIdx
)

Parameters

srIdx uint

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

Return Value

Type: uint

The sample rate if sr_idx is valid, 0 otherwise.