codecUtilsAacGetIndexFromSampleRate

Translates the sample rate to the index corresponding to it in AAC spec.

int
codecUtilsAacGetIndexFromSampleRate
(
uint rate
)

Parameters

rate uint

Sample rate

Return Value

Type: int

The AAC index for this sample rate, -1 if the rate is not a valid AAC sample rate.