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,
pub stream_count: u8,
pub coupled_count: u8,
pub channel_mapping: Vec<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§stream_count: u8§coupled_count: u8§channel_mapping: Vec<u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for OggHeader
impl RefUnwindSafe for OggHeader
impl Send for OggHeader
impl Sync for OggHeader
impl Unpin for OggHeader
impl UnsafeUnpin for OggHeader
impl UnwindSafe for OggHeader
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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