pub enum AudioCodecKind {
AacAdts,
Ac3,
Eac3,
}Expand description
Audio codec discriminator surfaced from the PMT walk. The PMT only
tells us the codec family; the actual codec_private bytes (asc for
AAC, dac3 / dec3 for AC-3 / E-AC-3) are derived in extract_* by
reading the first frame of the elementary stream.
Variants§
AacAdts
ISO/IEC 13818-7 AAC carried as ADTS frames (stream_type 0x0F).
Ac3
ETSI TS 102 366 AC-3 (stream_type 0x81 OR 0x06 + registration “AC-3”).
Eac3
ETSI TS 102 366 E-AC-3 (stream_type 0x87 OR 0x06 + registration “EAC3”).
Trait Implementations§
Source§impl Clone for AudioCodecKind
impl Clone for AudioCodecKind
Source§fn clone(&self) -> AudioCodecKind
fn clone(&self) -> AudioCodecKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AudioCodecKind
Source§impl Debug for AudioCodecKind
impl Debug for AudioCodecKind
impl Eq for AudioCodecKind
Source§impl PartialEq for AudioCodecKind
impl PartialEq for AudioCodecKind
Source§fn eq(&self, other: &AudioCodecKind) -> bool
fn eq(&self, other: &AudioCodecKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AudioCodecKind
Auto Trait Implementations§
impl Freeze for AudioCodecKind
impl RefUnwindSafe for AudioCodecKind
impl Send for AudioCodecKind
impl Sync for AudioCodecKind
impl Unpin for AudioCodecKind
impl UnsafeUnpin for AudioCodecKind
impl UnwindSafe for AudioCodecKind
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