#[repr(u8)]pub enum AudioDataFormat {
LeftJustified24Bit = 0,
I2s24Bit = 1,
TdmZeroBckDelay = 2,
TdmOneBckDelay = 3,
RightJustified24Bit = 4,
RightJustified20Bit = 5,
RightJustified18Bit = 6,
RightJustified16Bit = 7,
}Expand description
Audio data format selection.
Variants§
LeftJustified24Bit = 0
24-bit left justified.
I2s24Bit = 1
24-bit I2S.
TdmZeroBckDelay = 2
TDM with zero BCK delay.
TdmOneBckDelay = 3
TDM with one BCK delay.
RightJustified24Bit = 4
24-bit right justified.
RightJustified20Bit = 5
20-bit right justified.
RightJustified18Bit = 6
18-bit right justified.
RightJustified16Bit = 7
16-bit right justified.
Trait Implementations§
Source§impl Clone for AudioDataFormat
impl Clone for AudioDataFormat
Source§fn clone(&self) -> AudioDataFormat
fn clone(&self) -> AudioDataFormat
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AudioDataFormat
impl Debug for AudioDataFormat
Source§impl Default for AudioDataFormat
impl Default for AudioDataFormat
Source§fn default() -> AudioDataFormat
fn default() -> AudioDataFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for AudioDataFormat
impl PartialEq for AudioDataFormat
impl Copy for AudioDataFormat
impl Eq for AudioDataFormat
impl StructuralPartialEq for AudioDataFormat
Auto Trait Implementations§
impl Freeze for AudioDataFormat
impl RefUnwindSafe for AudioDataFormat
impl Send for AudioDataFormat
impl Sync for AudioDataFormat
impl Unpin for AudioDataFormat
impl UnwindSafe for AudioDataFormat
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