get_index_from_sample_rate


Description:

[ CCode ( cname = "gst_codec_utils_aac_get_index_from_sample_rate" ) ]
public int get_index_from_sample_rate (uint rate)

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

Parameters:

rate

Sample rate

Returns:

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