codecUtilsAacGetSampleRate

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

uint
codecUtilsAacGetSampleRate
(
ubyte[] audioConfig
)

Parameters

audioConfig ubyte[]

a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.

Return Value

Type: uint

The sample rate if sr_idx is valid, 0 otherwise.