pub enum Samples {
F32(Vec<f32>),
I16(Vec<i16>),
}Expand description
One PCM sample buffer, in the precision the caller has.
Variants§
F32(Vec<f32>)
Normalised floats, nominally in [-1.0, 1.0].
I16(Vec<i16>)
Signed 16-bit PCM, written through untouched.
Trait Implementations§
impl StructuralPartialEq for Samples
Auto Trait Implementations§
impl Freeze for Samples
impl RefUnwindSafe for Samples
impl Send for Samples
impl Sync for Samples
impl Unpin for Samples
impl UnsafeUnpin for Samples
impl UnwindSafe for Samples
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