get_sample_rate_from_index


Description:

[ CCode ( cname = "gst_codec_utils_aac_get_sample_rate_from_index" ) ]
public uint get_sample_rate_from_index (uint sr_idx)

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

Parameters:

sr_idx

Sample rate index as from the AudioSpecificConfig (MPEG-4 container) or ADTS frame header

Returns:

The sample rate if sr_idx is valid, 0 otherwise.