get_sample_rate


Description:

[ CCode ( cname = "gst_codec_utils_aac_get_sample_rate" ) ]
[ Version ( since = "1.10" ) ]
public uint get_sample_rate (uint8[] audio_config)

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

Parameters:

audio_config

a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.

len

Length of audio_config

Returns:

The sample rate if sr_idx is valid, 0 otherwise.