pub struct PcmEncoder { /* private fields */ }Expand description
PCM passthrough encoder. Header is a 44-byte WAV header.
Implementations§
Source§impl PcmEncoder
impl PcmEncoder
Sourcepub fn new(format: SampleFormat) -> Self
pub fn new(format: SampleFormat) -> Self
Create a new PCM encoder for the given sample format.
Trait Implementations§
Source§impl Encoder for PcmEncoder
impl Encoder for PcmEncoder
Auto Trait Implementations§
impl Freeze for PcmEncoder
impl RefUnwindSafe for PcmEncoder
impl Send for PcmEncoder
impl Sync for PcmEncoder
impl Unpin for PcmEncoder
impl UnsafeUnpin for PcmEncoder
impl UnwindSafe for PcmEncoder
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