pub struct PcmDecoder;Expand description
PCM decoder — passthrough. Parses the RIFF/WAV header to extract sample format.
Implementations§
Source§impl PcmDecoder
impl PcmDecoder
Trait Implementations§
Source§impl Decoder for PcmDecoder
impl Decoder for PcmDecoder
Source§fn set_header(&mut self, header: &CodecHeader) -> Result<SampleFormat>
fn set_header(&mut self, header: &CodecHeader) -> Result<SampleFormat>
Initialize the decoder from a codec header. Returns the sample format.
Source§impl Default for PcmDecoder
impl Default for PcmDecoder
Source§fn default() -> PcmDecoder
fn default() -> PcmDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PcmDecoder
impl RefUnwindSafe for PcmDecoder
impl Send for PcmDecoder
impl Sync for PcmDecoder
impl Unpin for PcmDecoder
impl UnsafeUnpin for PcmDecoder
impl UnwindSafe for PcmDecoder
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