- public bool caps_set_level_and_profile (Caps caps, uint8[] audio_config)
Sets the level and profile on caps
if it can be
determined from audio_config
.
- public uint get_channels (uint8[] audio_config)
Returns the channels of the given AAC stream.
- public int get_index_from_sample_rate (uint rate)
Translates the sample rate to the index corresponding to it in AAC
spec.
- public unowned string? get_level (uint8[] audio_config)
Determines the level of a stream as defined in ISO/IEC 14496-3.
- public unowned string? get_profile (uint8[] audio_config)
Returns the profile of the given AAC stream as a string.
- public uint get_sample_rate (uint8[] audio_config)
Translates the sample rate index found in AAC headers to the actual
sample rate.
- public uint get_sample_rate_from_index (uint sr_idx)
Translates the sample rate index found in AAC headers to the actual
sample rate.