Struct webrtc_media::io::ogg_reader::OggHeader
source · pub struct OggHeader {
pub channel_map: u8,
pub channels: u8,
pub output_gain: u16,
pub pre_skip: u16,
pub sample_rate: u32,
pub version: u8,
}
Expand description
OggHeader is the metadata from the first two pages in the file (ID and Comment) https://tools.ietf.org/html/rfc7845.html#section-3
Fields§
§channel_map: u8
§channels: u8
§output_gain: u16
§pre_skip: u16
§sample_rate: u32
§version: u8
Auto Trait Implementations§
impl RefUnwindSafe for OggHeader
impl Send for OggHeader
impl Sync for OggHeader
impl Unpin for OggHeader
impl UnwindSafe for OggHeader
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