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

The decoded audio held by this frame. Channels are interleaved.

This frame's sample rate in hertz.

The number of channels in this frame.

MPEG layer used by this file.

Current bitrate as of this frame, in kb/s.

Auto Trait Implementations

impl Send for Frame

impl Sync for Frame