pub struct AudioSpecificConfig {
pub audio_object_type: u8,
pub sampling_frequency_index: u8,
pub sampling_frequency: u32,
pub channel_configuration: u8,
pub frame_length_flag: bool,
pub depends_on_core_coder: bool,
pub extension_flag: bool,
pub raw: Bytes,
}Expand description
AudioSpecificConfig (from sequence header)
Fields§
§audio_object_type: u8Audio object type (profile)
sampling_frequency_index: u8Sampling frequency index
sampling_frequency: u32Sampling frequency in Hz
channel_configuration: u8Channel configuration (1=mono, 2=stereo, etc.)
frame_length_flag: boolFrame length flag (960 or 1024 samples)
depends_on_core_coder: boolDepends on core coder flag
extension_flag: boolExtension flag
raw: BytesRaw config bytes
Implementations§
Trait Implementations§
Source§impl Clone for AudioSpecificConfig
impl Clone for AudioSpecificConfig
Source§fn clone(&self) -> AudioSpecificConfig
fn clone(&self) -> AudioSpecificConfig
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 moreAuto Trait Implementations§
impl !Freeze for AudioSpecificConfig
impl RefUnwindSafe for AudioSpecificConfig
impl Send for AudioSpecificConfig
impl Sync for AudioSpecificConfig
impl Unpin for AudioSpecificConfig
impl UnwindSafe for AudioSpecificConfig
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