pub struct OpusConfig {
pub raw: Vec<u8>,
pub channels: u8,
pub pre_skip: u16,
pub input_sample_rate: u32,
pub output_gain: i16,
pub mapping_family: u8,
pub sidecars: Vec<SidecarBox>,
}Expand description
Opus decoder configuration.
Fields§
§raw: Vec<u8>Complete dOps payload.
channels: u8Output channel count.
pre_skip: u16Decoder pre-skip in samples.
input_sample_rate: u32Input sample rate from the identification header.
output_gain: i16Output gain in Q7.8 decibels.
mapping_family: u8Channel mapping family.
sidecars: Vec<SidecarBox>Preserved pasp, btrt, fiel, and colr boxes in stored order.
Trait Implementations§
Source§impl Clone for OpusConfig
impl Clone for OpusConfig
Source§impl Debug for OpusConfig
impl Debug for OpusConfig
impl Eq for OpusConfig
Source§impl PartialEq for OpusConfig
impl PartialEq for OpusConfig
impl StructuralPartialEq for OpusConfig
Auto Trait Implementations§
impl Freeze for OpusConfig
impl RefUnwindSafe for OpusConfig
impl Send for OpusConfig
impl Sync for OpusConfig
impl Unpin for OpusConfig
impl UnsafeUnpin for OpusConfig
impl UnwindSafe for OpusConfig
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