pub struct AudioBuffer {
pub range: SampleRange,
pub sample_rate: u32,
pub channels: u16,
pub samples: Vec<f32>,
}Expand description
Interleaved, normalized f32 audio samples for an exact sample interval.
Fields§
§range: SampleRange§sample_rate: u32§channels: u16§samples: Vec<f32>Implementations§
Trait Implementations§
Source§impl Clone for AudioBuffer
impl Clone for AudioBuffer
Source§impl Debug for AudioBuffer
impl Debug for AudioBuffer
Source§impl PartialEq for AudioBuffer
impl PartialEq for AudioBuffer
impl StructuralPartialEq for AudioBuffer
Auto Trait Implementations§
impl Freeze for AudioBuffer
impl RefUnwindSafe for AudioBuffer
impl Send for AudioBuffer
impl Sync for AudioBuffer
impl Unpin for AudioBuffer
impl UnsafeUnpin for AudioBuffer
impl UnwindSafe for AudioBuffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more