Struct minimp3::Frame [−][src]
pub struct Frame { pub data: Vec<i16>, pub sample_rate: i32, pub channels: usize, pub layer: usize, pub bitrate: i32, }
A MP3 frame, owning the decoded audio of that frame.
Fields
data: Vec<i16>
The decoded audio held by this frame. Channels are interleaved.
sample_rate: i32
This frame's sample rate in hertz.
channels: usize
The number of channels in this frame.
layer: usize
MPEG layer used by this file.
bitrate: i32
Current bitrate as of this frame, in kb/s.