codecUtilsAacGetIndexFromSampleRate

fnint codecUtilsAacGetIndexFromSampleRate(uint rate)

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

Parameters

rateSample rate

Returns

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

valid AAC sample rate.