pub struct OpusChannelMapping {
pub family: u8,
pub stream_count: u8,
pub coupled_count: u8,
pub channel_mapping: Vec<u8>,
}Expand description
A nonzero channel mapping family and its table, laid out as RFC 7845 §5.1.1 describes.
Fields§
§family: u8The channel mapping family; never 0, which has no table.
stream_count: u8The number of Opus streams in each packet.
coupled_count: u8How many of those streams are coupled (stereo); they come first.
channel_mapping: Vec<u8>The decoded channel feeding each output channel, or 255 for silence. It has one entry per output channel.
Trait Implementations§
Source§impl Clone for OpusChannelMapping
impl Clone for OpusChannelMapping
Source§impl Debug for OpusChannelMapping
impl Debug for OpusChannelMapping
impl Eq for OpusChannelMapping
Source§impl PartialEq for OpusChannelMapping
impl PartialEq for OpusChannelMapping
impl StructuralPartialEq for OpusChannelMapping
Auto Trait Implementations§
impl Freeze for OpusChannelMapping
impl RefUnwindSafe for OpusChannelMapping
impl Send for OpusChannelMapping
impl Sync for OpusChannelMapping
impl Unpin for OpusChannelMapping
impl UnsafeUnpin for OpusChannelMapping
impl UnwindSafe for OpusChannelMapping
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more