pub struct AlacConfig {
pub frame_length: u32,
pub bit_depth: u8,
pub pb: u8,
pub mb: u8,
pub kb: u8,
pub channels: u8,
pub sample_rate: u32,
}Expand description
The fields of ALACSpecificConfig the decoder uses.
Fields§
§frame_length: u32Samples per channel in a full frame.
bit_depth: u8§pb: u8Rice history multiplier (pb, 40 by default).
mb: u8Initial Rice history (mb, 10 by default).
kb: u8Rice parameter limit (kb, 14 by default).
channels: u8§sample_rate: u32Implementations§
Source§impl AlacConfig
impl AlacConfig
Find the config in a magic cookie, whichever wrapping it arrives in:
the bare 24 bytes (MP4 alac box payload, Matroska CodecPrivate,
many CAF kukis), the full 36-byte alac atom (FFmpeg extradata),
or a CAF cookie that opens with a frma atom before the alac atom.
Trait Implementations§
Source§impl Clone for AlacConfig
impl Clone for AlacConfig
impl Copy for AlacConfig
Source§impl Debug for AlacConfig
impl Debug for AlacConfig
impl Eq for AlacConfig
Source§impl PartialEq for AlacConfig
impl PartialEq for AlacConfig
impl StructuralPartialEq for AlacConfig
Auto Trait Implementations§
impl Forget for AlacConfig
impl Freeze for AlacConfig
impl Move for AlacConfig
impl RefUnwindSafe for AlacConfig
impl Send for AlacConfig
impl Sync for AlacConfig
impl Unpin for AlacConfig
impl UnsafeUnpin for AlacConfig
impl UnwindSafe for AlacConfig
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