pub enum Bandwidth {
Auto = -1_000,
Narrowband = 1_101,
Mediumband = 1_102,
Wideband = 1_103,
Superwideband = 1_104,
Fullband = 1_105,
}Expand description
Audio bandwidth of a coded stream (libopus OPUS_BANDWIDTH_*; the
discriminants are the libopus values).
Variants§
Auto = -1_000
Let the encoder choose from the bitrate and content.
Narrowband = 1_101
4 kHz audio bandwidth (8 kHz sampling).
Mediumband = 1_102
6 kHz audio bandwidth (12 kHz sampling).
Wideband = 1_103
8 kHz audio bandwidth (16 kHz sampling).
Superwideband = 1_104
12 kHz audio bandwidth (24 kHz sampling).
Fullband = 1_105
20 kHz audio bandwidth (48 kHz sampling).
Trait Implementations§
impl Copy for Bandwidth
impl Eq for Bandwidth
impl StructuralPartialEq for Bandwidth
Auto Trait Implementations§
impl Freeze for Bandwidth
impl RefUnwindSafe for Bandwidth
impl Send for Bandwidth
impl Sync for Bandwidth
impl Unpin for Bandwidth
impl UnsafeUnpin for Bandwidth
impl UnwindSafe for Bandwidth
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