pub fn codec_utils_aac_get_index_from_sample_rate(rate: u32) -> i32
Expand description

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

§rate

Sample rate

§Returns

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