Sample

Type Alias 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