pub struct G729Decoder { /* private fields */ }Expand description
G.729 audio decoder using g729-sys
Implementations§
Source§impl G729Decoder
impl G729Decoder
Trait Implementations§
Source§impl Decoder for G729Decoder
impl Decoder for G729Decoder
Source§fn decode_into(
&mut self,
data: &[u8],
out: &mut [Sample],
) -> Result<usize, CodecError>
fn decode_into( &mut self, data: &[u8], out: &mut [Sample], ) -> Result<usize, CodecError>
Source§fn max_decode_samples(&self, n_bytes: usize) -> usize
fn max_decode_samples(&self, n_bytes: usize) -> usize
Upper bound on the number of samples that
decode_into will write
for an input of n_bytes bytes.Source§fn sample_rate(&self) -> u32
fn sample_rate(&self) -> u32
Get the sample rate of the decoded audio.
Source§impl Default for G729Decoder
impl Default for G729Decoder
impl Send for G729Decoder
impl Sync for G729Decoder
Auto Trait Implementations§
impl Freeze for G729Decoder
impl RefUnwindSafe for G729Decoder
impl Unpin for G729Decoder
impl UnsafeUnpin for G729Decoder
impl UnwindSafe for G729Decoder
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