codecUtilsOpusParseHeader

fnbool codecUtilsOpusParseHeader(gst.buffer.Buffer header, out uint rate, out ubyte channels, out ubyte channelMappingFamily, out ubyte streamCount, out ubyte coupledCount, ref ubyte[] channelMapping, out ushort preSkip, out short outputGain)

Parses the OpusHead header.

Parameters

headerthe OpusHead #GstBuffer
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
preSkipPre-skip in 48kHz samples or 0
outputGainOutput gain or 0

Returns

true if parsing was successful, false otherwise.