Expand description
Types and utilities for Audio Buffers.
In Conformal, components process audio in buffers. Buffers are groups of samples
arranged into channels. In Conformal, each channel is represented by a &[f32].
Structs§
- Buffer
Data - A buffer of audio samples that owns its data.
Enums§
- Channel
Layout - Defines the layout of the channels in a buffer.
Traits§
- Buffer
- Represents a (potentially multi-channel) buffer of audio samples
- Buffer
Index - A trait for index types that can be used in
slice_bufferandslice_buffer_mut. - Buffer
Mut - A mutable (potentially multi-channel) buffer of audio samples.
Functions§
- all_
approx_ eq - Checks if all the values from two iterators of f32 values are within
eof each other. - approx_
eq - Checks if two
f32valuesaandbare withineof each other. - buffer_
approx_ eq - Checks two buffers are equal to within a tolerance
e. - channels
- Returns an iterator for the channels of a buffer.
- channels_
mut - Returns an iterator for the channels of a mutable buffer.
- slice_
buffer - Create a sub-buffer from a buffer using an index range.
- slice_
buffer_ mut - Create a sub-buffer of a mutable buffer using an index range.