Type Alias oddio::Sample

source ·
pub type Sample = f32;
Expand description

Unitless instantaneous sound wave amplitude measurement

Trait Implementations§

source§

impl Frame for Sample

source§

const ZERO: Sample = 0f32

A frame with zeroes in every channel
source§

fn channels(&self) -> &[Sample]

Access the frame’s channels
source§

fn channels_mut(&mut self) -> &mut [Sample]

Mutably access the frame’s channels