pub fn serialize_opus_header<W: WriteBytesExt + Write>(
    opus: &OpusSpecificBox,
    dst: &mut W
) -> Result<()>
Expand description

Re-serialize the Opus codec-specific config data as an OpusHead packet.

Some decoders expect the initialization data in the format used by the Ogg and WebM encapsulations. To support this we prepend the OpusHead tag and byte-swap the data from big- to little-endian relative to the dOps box.