pub struct TelephoneEventDecoder {}Implementations§
Trait Implementations§
Source§impl Decoder for TelephoneEventDecoder
impl Decoder for TelephoneEventDecoder
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.
Auto Trait Implementations§
impl Freeze for TelephoneEventDecoder
impl RefUnwindSafe for TelephoneEventDecoder
impl Send for TelephoneEventDecoder
impl Sync for TelephoneEventDecoder
impl Unpin for TelephoneEventDecoder
impl UnsafeUnpin for TelephoneEventDecoder
impl UnwindSafe for TelephoneEventDecoder
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