pub enum ChannelMode {
Mono,
Split,
}Expand description
Whether decoded channels are mixed to mono or kept separate.
Default is Self::Mono: it follows DecodeOptions::speech,
the one-call crate::decode / crate::read contract. General
audio uses DecodeOptions::audio or DecodeOptions::unbounded
(Self::Split), not a silent default flip.
Variants§
Trait Implementations§
Source§impl Clone for ChannelMode
impl Clone for ChannelMode
impl Copy for ChannelMode
Source§impl Debug for ChannelMode
impl Debug for ChannelMode
Source§impl Default for ChannelMode
impl Default for ChannelMode
impl Eq for ChannelMode
Source§impl PartialEq for ChannelMode
impl PartialEq for ChannelMode
impl StructuralPartialEq for ChannelMode
Auto Trait Implementations§
impl Freeze for ChannelMode
impl RefUnwindSafe for ChannelMode
impl Send for ChannelMode
impl Sync for ChannelMode
impl Unpin for ChannelMode
impl UnsafeUnpin for ChannelMode
impl UnwindSafe for ChannelMode
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