pub enum Bandwidth {
Nb,
Mb,
Wb,
Swb,
Fb,
}Expand description
Audio bandwidth selected by the config field of the TOC byte.
The five bandwidths per RFC 6716 §2:
- NB — narrowband, 4 kHz effective, 8 kHz sample rate equivalent.
- MB — medium band, 6 kHz effective.
- WB — wideband, 8 kHz effective.
- SWB — super-wideband, 12 kHz effective.
- FB — fullband, 20 kHz effective.
Variants§
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