pub enum AudioSettingsSubType {
Show 21 variants
AAC,
AC3,
AACADTS,
AACHDCP,
AC3SPDIF,
AC3HDCP,
ADTS,
ALAC,
AMRNB,
AWRWB,
DTS,
EAC3,
FLAC,
Float,
MP3,
MPEG,
OPUS,
PCM,
WMA8,
WMA9,
Vorbis,
}Expand description
Audio encoder subtypes.
Variantsยง
AAC
Advanced Audio Coding (AAC).
AC3
Dolby Digital (AC-3).
AACADTS
AAC framed with ADTS headers.
AACHDCP
AAC with HDCP protection.
AC3SPDIF
AC-3 over S/PDIF.
AC3HDCP
AC-3 with HDCP protection.
ADTS
ADTS (Audio Data Transport Stream).
ALAC
Apple Lossless Audio Codec (ALAC).
AMRNB
Adaptive Multi-Rate Narrowband (AMR-NB).
AWRWB
Adaptive Multi-Rate Wideband (AMR-WB).
DTS
DTS audio.
EAC3
Enhanced AC-3 (E-AC-3).
FLAC
Free Lossless Audio Codec (FLAC).
Float
32-bit floating-point PCM.
MP3
MPEG-1/2 Layer III (MP3).
MPEG
Generic MPEG audio.
OPUS
Opus audio.
PCM
Pulse-code modulation (PCM).
WMA8
Windows Media Audio 8.
WMA9
Windows Media Audio 9.
Vorbis
Vorbis audio.
Implementationsยง
Sourceยงimpl AudioSettingsSubType
impl AudioSettingsSubType
Sourcepub fn to_hstring(&self) -> HSTRING
pub fn to_hstring(&self) -> HSTRING
Returns the Windows Media subtype identifier string for this AudioSettingsSubType.
Trait Implementationsยง
Sourceยงimpl Clone for AudioSettingsSubType
impl Clone for AudioSettingsSubType
Sourceยงfn clone(&self) -> AudioSettingsSubType
fn clone(&self) -> AudioSettingsSubType
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for AudioSettingsSubType
impl Debug for AudioSettingsSubType
Sourceยงimpl PartialEq for AudioSettingsSubType
impl PartialEq for AudioSettingsSubType
impl Copy for AudioSettingsSubType
impl Eq for AudioSettingsSubType
impl StructuralPartialEq for AudioSettingsSubType
Auto Trait Implementationsยง
impl Freeze for AudioSettingsSubType
impl RefUnwindSafe for AudioSettingsSubType
impl Send for AudioSettingsSubType
impl Sync for AudioSettingsSubType
impl Unpin for AudioSettingsSubType
impl UnsafeUnpin for AudioSettingsSubType
impl UnwindSafe for AudioSettingsSubType
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