pub struct Wav {
pub sample_rate: u32,
pub channels: Vec<Vec<f32>>,
pub encoding: Encoding,
}Expand description
A decoded WAV file: one sample vector per channel, scaled to ±1.0.
Fields§
§sample_rate: u32§channels: Vec<Vec<f32>>§encoding: EncodingHow the file stored its samples (the official app converts anything but 24-bit PCM).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Wav
Auto Trait Implementations§
impl Freeze for Wav
impl RefUnwindSafe for Wav
impl Send for Wav
impl Sync for Wav
impl Unpin for Wav
impl UnsafeUnpin for Wav
impl UnwindSafe for Wav
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