pub struct OpusHead {
pub channels: u8,
pub pre_skip: u16,
pub input_sample_rate: u32,
pub mapping: Option<(u8, u8, Vec<u8>)>,
}Expand description
What OpusHead tells a decoder; mapping is (streams, coupled, table) for channel
mapping family 1, absent for family 0 (mono and stereo).
Fields§
§channels: u8§pre_skip: u16§input_sample_rate: u32§mapping: Option<(u8, u8, Vec<u8>)>Auto Trait Implementations§
impl Freeze for OpusHead
impl RefUnwindSafe for OpusHead
impl Send for OpusHead
impl Sync for OpusHead
impl Unpin for OpusHead
impl UnsafeUnpin for OpusHead
impl UnwindSafe for OpusHead
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