pub struct PcmStream {
pub spec: PcmSpec,
pub samples: Vec<i32>,
}Expand description
Fully materialized interleaved PCM samples plus their PcmSpec.
Fields§
§spec: PcmSpecStream specification shared by the sample buffer.
samples: Vec<i32>Interleaved samples stored as signed 32-bit values.
Trait Implementations§
impl Eq for PcmStream
impl StructuralPartialEq for PcmStream
Auto Trait Implementations§
impl Freeze for PcmStream
impl RefUnwindSafe for PcmStream
impl Send for PcmStream
impl Sync for PcmStream
impl Unpin for PcmStream
impl UnsafeUnpin for PcmStream
impl UnwindSafe for PcmStream
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