Struct simplemad::Frame
[−]
[src]
pub struct Frame { pub sample_rate: u32, pub samples: Vec<Vec<MadFixed32>>, pub duration: f32, pub position: f64, }
A decoded frame
Fields
sample_rate: u32
Number of samples per second
samples: Vec<Vec<MadFixed32>>
Samples are organized into a vector of channels. For stereo, the left channel is channel 0.
duration: f32
The duration of the frame in milliseconds
position: f64
The position in milliseconds at the start of the frame
Trait Implementations
impl Debug for Frame
[src]
impl Clone for Frame
[src]
fn clone(&self) -> Frame
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more