pub struct AlacEncoder { /* private fields */ }Implementations§
Source§impl AlacEncoder
impl AlacEncoder
pub fn new(output_format: &FormatDescription) -> AlacEncoder
pub fn bit_depth(&self) -> usize
pub fn channels(&self) -> usize
pub fn frames(&self) -> usize
pub fn sample_rate(&self) -> usize
pub fn encode( &mut self, input_format: &FormatDescription, input_data: &[u8], output_data: &mut [u8], ) -> usize
Auto Trait Implementations§
impl Freeze for AlacEncoder
impl RefUnwindSafe for AlacEncoder
impl Send for AlacEncoder
impl Sync for AlacEncoder
impl Unpin for AlacEncoder
impl UnwindSafe for AlacEncoder
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