#[repr(u32)]pub enum AudioFormat {
Show 23 variants
LPCM = 1,
AC3 = 2,
MPEG1 = 3,
MP3 = 4,
MPEG2 = 5,
AAC_LC = 6,
DTS = 7,
ATRAC = 8,
ONE_BIT_AUDIO = 9,
ENHANCED_AC3 = 10,
DTS_HD = 11,
MAT = 12,
DST = 13,
WMA_PRO = 14,
MPEG4_HE_AAC = 15,
MPEG4_HE_AAC_V2 = 16,
MPEG4_AAC_LC = 17,
DRA = 18,
MPEG4_HE_AAC_MPEG_SURROUND = 19,
MPEG4_AAC_LC_MPEG_SURROUND = 20,
MPEGH_3D = 21,
AC4 = 22,
LPCM_3D = 23,
}Expand description
Audio formats, defined in tables 37 and 39.
Note, the enum values don’t match the specification.
Variants§
LPCM = 1
AC3 = 2
MPEG1 = 3
MP3 = 4
MPEG2 = 5
AAC_LC = 6
DTS = 7
ATRAC = 8
ONE_BIT_AUDIO = 9
ENHANCED_AC3 = 10
DTS_HD = 11
MAT = 12
DST = 13
WMA_PRO = 14
MPEG4_HE_AAC = 15
MPEG4_HE_AAC_V2 = 16
MPEG4_AAC_LC = 17
DRA = 18
MPEG4_HE_AAC_MPEG_SURROUND = 19
MPEG4_AAC_LC_MPEG_SURROUND = 20
MPEGH_3D = 21
AC4 = 22
LPCM_3D = 23
Trait Implementations§
Source§impl Clone for AudioFormat
impl Clone for AudioFormat
Source§fn clone(&self) -> AudioFormat
fn clone(&self) -> AudioFormat
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 AudioFormat
impl Debug for AudioFormat
Source§impl From<u32> for AudioFormat
impl From<u32> for AudioFormat
Source§fn from(value: di_cta_audio_format) -> AudioFormat
fn from(value: di_cta_audio_format) -> AudioFormat
Converts to this type from the input type.
Source§impl PartialEq for AudioFormat
impl PartialEq for AudioFormat
impl Copy for AudioFormat
impl Eq for AudioFormat
impl StructuralPartialEq for AudioFormat
Auto Trait Implementations§
impl Freeze for AudioFormat
impl RefUnwindSafe for AudioFormat
impl Send for AudioFormat
impl Sync for AudioFormat
impl Unpin for AudioFormat
impl UnwindSafe for AudioFormat
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