pub struct Head {
pub channels: usize,
pub pre_skip: usize,
pub gain_i: i16,
pub nb_streams: usize,
pub nb_stereo_streams: usize,
/* private fields */
}Expand description
The parsed OpusHead (ff_opus_parse_extradata).
Fields§
§channels: usizeOutput channels.
pre_skip: usizeSamples at 48 kHz to drop from the start of the decode.
gain_i: i16Output gain, Q7.8 dB.
nb_streams: usizeElementary streams in the multistream packet.
nb_stereo_streams: usizeHow many of them are coupled stereo streams.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Head
impl Freeze for Head
impl Move for Head
impl RefUnwindSafe for Head
impl Send for Head
impl Sync for Head
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Head
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more