codecUtilsAacGetSampleRateFromIndex
fn
uint codecUtilsAacGetSampleRateFromIndex(uint srIdx)Translates the sample rate index found in AAC headers to the actual sample rate.
Parameters
srIdx | 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.