pub struct CeltDecoder { /* private fields */ }Implementations§
Source§impl CeltDecoder
impl CeltDecoder
pub fn new(mode: &'static CeltMode, channels: usize) -> Self
pub fn decode( &mut self, compressed: &[u8], frame_size: usize, pcm: &mut [f32], ) -> usize
pub fn decode_with_start_band( &mut self, compressed: &[u8], frame_size: usize, pcm: &mut [f32], start_band: usize, ) -> usize
pub fn decode_from_range_coder( &mut self, rc: &mut RangeCoder, total_bits: i32, frame_size: usize, pcm: &mut [f32], start_band: usize, ) -> usize
Auto Trait Implementations§
impl Freeze for CeltDecoder
impl RefUnwindSafe for CeltDecoder
impl Send for CeltDecoder
impl Sync for CeltDecoder
impl Unpin for CeltDecoder
impl UnsafeUnpin for CeltDecoder
impl UnwindSafe for CeltDecoder
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