Function gstreamer_pbutils::functions::codec_utils_aac_get_profile
source · pub fn codec_utils_aac_get_profile(
audio_config: &[u8],
) -> Result<GString, BoolError>
Expand description
Returns the profile of the given AAC stream as a string. The profile is
normally determined using the AudioObjectType field which is in the first
5 bits of audio_config
§audio_config
a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.
§Returns
The profile as a const string and None
if the profile could not be
determined.