pub struct StereoHeaderContext {
pub has_mid_only_flag: bool,
}Expand description
§4.2.7.1 / §4.2.7.2 stereo header context for the mid channel of a
stereo Opus frame, supplied to decode_silk_frame via
SilkFrameConfig::stereo.
Fields§
§has_mid_only_flag: boolWhether the §4.2.7.2 mid-only flag is present for this time interval. Per §4.2.7.2 the flag appears iff the side channel of this interval is not otherwise required (regular frame with side VAD == 0, or LBRR frame with side LBRR == 0). The §4.2 packet walker determines this and passes the boolean.
Trait Implementations§
Source§impl Clone for StereoHeaderContext
impl Clone for StereoHeaderContext
Source§fn clone(&self) -> StereoHeaderContext
fn clone(&self) -> StereoHeaderContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StereoHeaderContext
Source§impl Debug for StereoHeaderContext
impl Debug for StereoHeaderContext
impl Eq for StereoHeaderContext
Source§impl PartialEq for StereoHeaderContext
impl PartialEq for StereoHeaderContext
Source§fn eq(&self, other: &StereoHeaderContext) -> bool
fn eq(&self, other: &StereoHeaderContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StereoHeaderContext
Auto Trait Implementations§
impl Freeze for StereoHeaderContext
impl RefUnwindSafe for StereoHeaderContext
impl Send for StereoHeaderContext
impl Sync for StereoHeaderContext
impl Unpin for StereoHeaderContext
impl UnsafeUnpin for StereoHeaderContext
impl UnwindSafe for StereoHeaderContext
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