codecUtilsOpusParseCaps

Parses Opus caps and fills the different fields with defaults if possible.

bool
codecUtilsOpusParseCaps
(,
out uint rate
,
out ubyte channels
,,
out ubyte streamCount
,
out ubyte coupledCount
,
ref ubyte[] channelMapping
)

Parameters

caps gst.caps.Caps

the #GstCaps to parse the data from

rate uint

the sample rate

channels ubyte

the number of channels

channelMappingFamily ubyte

the channel mapping family

streamCount ubyte

the number of independent streams

coupledCount ubyte

the number of stereo streams

channelMapping ubyte[]

the mapping between the streams

Return Value

Type: bool

true if parsing was successful, false otherwise.