codec_utils_opus_create_caps
Description:
[ CCode ( cname = "gst_codec_utils_opus_create_caps" ) ]
[ Version ( since = "1.8" ) ]
public Caps codec_utils_opus_create_caps (uint32 rate, uint8 channels, uint8 channel_mapping_family, uint8 stream_count, uint8 coupled_count, uint8[]? channel_mapping)
Creates Opus caps from the given parameters.
Parameters:
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
|
Returns:
The Caps, or null if the parameters would lead to invalid Opus caps.
|