codec_utils_opus_parse_header


Description:

[ CCode ( cname = "gst_codec_utils_opus_parse_header" ) ]
[ Version ( since = "1.8" ) ]
public bool codec_utils_opus_parse_header (Buffer header, out uint32 rate, out uint8 channels, out uint8 channel_mapping_family, out uint8 stream_count, out uint8 coupled_count, out uint8[] channel_mapping, out uint16 pre_skip, out int16 output_gain)

Parses the OpusHead header.

Parameters:

header

the OpusHead Buffer

rate

the sample rate

channels

the number of channels

channel_mapping_family

the channel mapping family

stream_count

the number of independent streams

coupled_count

the number of stereo streams

channel_mapping

the mapping between the streams

pre_skip

Pre-skip in 48kHz samples or 0

output_gain

Output gain or 0

Returns:

true if parsing was successful, false otherwise.


Namespace: Gst.PbUtils