pub enum AscSignaling {
NoExtension,
ImplicitMaybe,
ExplicitSbr,
ExplicitPs,
}Expand description
Per ISO 14496-3 §1.6.5: how the SBR / PS extension layer was signaled inside the ASC, if at all. Drives Apple-compat handling.
Variants§
NoExtension
Pure AAC-LC (or other non-HE AOT). No extension layer signaled.
ImplicitMaybe
AAC-LC core with the SBR / PS layer signaled implicitly — that is,
the ASC starts with AOT=2 and does not advertise SBR or PS,
but the audio bitstream itself contains SBR / PS payloads. Apple
players silently downgrade to mono 22.05 kHz. Must be upgraded to
Explicit* before muxing for Apple-compat or rejected.
ExplicitSbr
SBR / PS layer signaled explicitly via the AOT=5 (SBR) or
AOT=29 (PS) leading byte. Apple-compatible.
ExplicitPs
PS extension explicitly signaled (AOT=29 leading byte). PS implies
SBR (PS rides on top of SBR per ISO 14496-3 §6).
Trait Implementations§
Source§impl Clone for AscSignaling
impl Clone for AscSignaling
Source§fn clone(&self) -> AscSignaling
fn clone(&self) -> AscSignaling
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 AscSignaling
Source§impl Debug for AscSignaling
impl Debug for AscSignaling
impl Eq for AscSignaling
Source§impl PartialEq for AscSignaling
impl PartialEq for AscSignaling
Source§fn eq(&self, other: &AscSignaling) -> bool
fn eq(&self, other: &AscSignaling) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AscSignaling
Auto Trait Implementations§
impl Freeze for AscSignaling
impl RefUnwindSafe for AscSignaling
impl Send for AscSignaling
impl Sync for AscSignaling
impl Unpin for AscSignaling
impl UnsafeUnpin for AscSignaling
impl UnwindSafe for AscSignaling
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