[][src]Struct javelin_codec::aac::config::AudioSpecificConfiguration

pub struct AudioSpecificConfiguration {
    pub object_type: AudioObjectType,
    pub sampling_frequency_index: u8,
    pub channel_configuration: u8,
    pub frame_length_flag: bool,
    pub depends_on_core_coder: bool,
    pub extension_flag: bool,
}
Bits Description
5 Audio object type
4 Sampling frequency index
4 Channel configuration
1 Frame length flag
1 Depends on core coder
1 Extension flag

Fields

object_type: AudioObjectTypesampling_frequency_index: u8channel_configuration: u8frame_length_flag: booldepends_on_core_coder: boolextension_flag: bool

Methods

impl AudioSpecificConfiguration[src]

pub fn try_from_buf<B>(buf: &mut B) -> Result<Self> where
    B: Buf
[src]

Trait Implementations

impl PartialEq<AudioSpecificConfiguration> for AudioSpecificConfiguration[src]

impl Clone for AudioSpecificConfiguration[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for AudioSpecificConfiguration[src]

impl Debug for AudioSpecificConfiguration[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T