pub struct DecoderSpecific {
pub profile: u8,
pub freq_index: u8,
pub chan_conf: u8,
pub raw: Vec<u8>,
}Fields§
§profile: u8§freq_index: u8§chan_conf: u8§raw: Vec<u8>The complete DecoderSpecificInfo payload. For AAC this is the
AudioSpecificConfig — the profile / freq_index / chan_conf fields
above are a parsed view of its prefix. For a non-AAC object type (e.g.
the MPEG-4 Visual VOS/VOL config carried by an mp4v esds) the fields
are not meaningful, but the bytes are preserved verbatim so the
descriptor round-trips faithfully. Empty on a hand-constructed AAC
config, in which case Encode re-derives the 2-byte AudioSpecificConfig
from the fields.
Implementations§
Trait Implementations§
Source§impl Clone for DecoderSpecific
impl Clone for DecoderSpecific
Source§fn clone(&self) -> DecoderSpecific
fn clone(&self) -> DecoderSpecific
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 moreSource§impl Debug for DecoderSpecific
impl Debug for DecoderSpecific
Source§impl Decode for DecoderSpecific
impl Decode for DecoderSpecific
Source§impl Default for DecoderSpecific
impl Default for DecoderSpecific
Source§fn default() -> DecoderSpecific
fn default() -> DecoderSpecific
Returns the “default value” for a type. Read more
impl Eq for DecoderSpecific
Source§impl From<DecoderSpecific> for Descriptor
impl From<DecoderSpecific> for Descriptor
Source§fn from(desc: DecoderSpecific) -> Self
fn from(desc: DecoderSpecific) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecoderSpecific
impl PartialEq for DecoderSpecific
impl StructuralPartialEq for DecoderSpecific
Auto Trait Implementations§
impl Freeze for DecoderSpecific
impl RefUnwindSafe for DecoderSpecific
impl Send for DecoderSpecific
impl Sync for DecoderSpecific
impl Unpin for DecoderSpecific
impl UnsafeUnpin for DecoderSpecific
impl UnwindSafe for DecoderSpecific
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