pub enum AltFormat {
Pcm,
PcmU8,
PcmFloat32,
Dop,
Dsd,
Other,
}Expand description
What an alternate setting carries.
Variants§
Pcm
Linear PCM (also the carrier for DoP).
PcmU8
Type I unsigned 8-bit PCM.
PcmFloat32
Type I IEEE-754 binary32 PCM.
Dop
DoP only, using a source-backed carrier even without advertised PCM.
Dsd
Native DSD (format tag DSD).
Other
Other formats, including unsupported Type II/III compressed transports.
Trait Implementations§
impl Copy for AltFormat
impl Eq for AltFormat
impl StructuralPartialEq for AltFormat
Auto Trait Implementations§
impl Forget for AltFormat
impl Freeze for AltFormat
impl Move for AltFormat
impl RefUnwindSafe for AltFormat
impl Send for AltFormat
impl Sync for AltFormat
impl Unpin for AltFormat
impl UnsafeUnpin for AltFormat
impl UnwindSafe for AltFormat
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