codecUtilsAacGetSampleRate

fnuint codecUtilsAacGetSampleRate(ubyte[] audioConfig)

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

Parameters

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

Returns

The sample rate if sr_idx is valid, 0 otherwise.