pub type AudioFrame = Frame;Expand description
Type alias for Frame to avoid confusion with visual frames in nannou.
Aliased Type§
pub struct AudioFrame {
pub samples: StackVec<f32, 1024>,
pub sample_rate: u32,
pub num_channels: usize,
}Fields§
§samples: StackVec<f32, 1024>Interleaved audio samples (stack-allocated).
sample_rate: u32Sample rate in Hz.
num_channels: usizeNumber of audio channels.