codecUtilsOpusParseCaps
fn
bool 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
caps | the #GstCaps to parse the data from |
rate | the sample rate |
channels | the number of channels |
channelMappingFamily | the channel mapping family |
streamCount | the number of independent streams |
coupledCount | the number of stereo streams |
channelMapping | the mapping between the streams |
Returns
true if parsing was successful, false otherwise.