#[repr(i32)]pub enum Bandwidth {
Auto = -1_000,
Narrowband = 1_101,
Mediumband = 1_102,
Wideband = 1_103,
Superwideband = 1_104,
Fullband = 1_105,
}
Expand description
Represents possible bandwidths of an Opus-stream.
Variants§
Auto = -1_000
Pick the bandwidth automatically.
Narrowband = 1_101
A 4kHz bandwidth.
Mediumband = 1_102
A 6kHz bandwidth.
Wideband = 1_103
A 8kHz bandwidth.
Superwideband = 1_104
A 12kHz bandwidth.
Fullband = 1_105
A 20kHz bandwidth.
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 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