pub struct Pcm {
pub channels: u16,
pub sample_rate: u32,
pub samples: Vec<f32>,
}Expand description
Decoded samples.
Fields§
§channels: u16The number of channels.
sample_rate: u32The sample rate, in samples per second.
samples: Vec<f32>The samples, interleaved, from -1 to 1.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pcm
impl RefUnwindSafe for Pcm
impl Send for Pcm
impl Sync for Pcm
impl Unpin for Pcm
impl UnsafeUnpin for Pcm
impl UnwindSafe for Pcm
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