pub struct AudioResampler { /* private fields */ }Implementations§
Source§impl AudioResampler
impl AudioResampler
pub fn new( source: &DecodedAudioFrame, config: AudioResamplerConfig, ) -> Result<Self>
pub fn convert(&mut self, source: &DecodedAudioFrame) -> Result<AudioFrame>
Trait Implementations§
Source§impl Drop for AudioResampler
impl Drop for AudioResampler
impl Send for AudioResampler
Auto Trait Implementations§
impl Freeze for AudioResampler
impl RefUnwindSafe for AudioResampler
impl !Sync for AudioResampler
impl Unpin for AudioResampler
impl UnsafeUnpin for AudioResampler
impl UnwindSafe for AudioResampler
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