codecUtilsOpusParseCaps

fnbool codecUtilsOpusParseCaps(gst.caps.Caps caps, out uint rate, out ubyte channels, out ubyte channelMappingFamily, out ubyte streamCount, out ubyte coupledCount, ref ubyte[] channelMapping)

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

Parameters

capsthe #GstCaps to parse the data from
ratethe sample rate
channelsthe number of channels
channelMappingFamilythe channel mapping family
streamCountthe number of independent streams
coupledCountthe number of stereo streams
channelMappingthe mapping between the streams

Returns

true if parsing was successful, false otherwise.