Type Definition Sample
oddio
type Sample = f32;
Unitless instantaneous sound wave amplitude measurement
impl Frame for Sample
const ZERO: Sample
A frame with zeroes in every channel
fn channels(&self) -> &[Sample]ⓘNotable traits for &'_ mut [u8]impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
Access the frame's channels
fn channels_mut(&mut self) -> &mut [Sample]ⓘNotable traits for &'_ mut [u8]impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
Mutably access the frame's channels