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,
}展开描述
音频编码器子类型。
变体§
AAC
高级音频编码(AAC)。
AC3
杜比数字(AC-3)。
AACADTS
带有 ADTS 头的 AAC 帧。
AACHDCP
带有 HDCP 保护的 AAC。
AC3SPDIF
通过 S/PDIF 传输的 AC-3。
AC3HDCP
带 HDCP 保护的 AC-3。
ADTS
ADTS(音频数据传输流)。
ALAC
Apple 无损音频编解码器 (ALAC)。
AMRNB
自适应多速率窄带 (AMR-NB)。
AWRWB
自适应多速率宽带 (AMR-WB)。
DTS
DTS 音频。
EAC3
增强型 AC-3 (E-AC-3)。
FLAC
自由无损音频编解码器 (FLAC)。
Float
32 位浮点 PCM。
MP3
MPEG-1/2 Layer III (MP3)。
MPEG
通用 MPEG 音频。
OPUS
Opus 音频。
PCM
脉冲编码调制 (PCM)。
WMA8
Windows Media 音频 8。
WMA9
Windows Media 音频 9。
Vorbis
Vorbis 音频。
Implementations§
源代码§impl AudioSettingsSubType
impl AudioSettingsSubType
源代码pub fn to_hstring(&self) -> HSTRING
pub fn to_hstring(&self) -> HSTRING
返回此 AudioSettingsSubType 的 Windows Media 子类型标识符字符串。
Trait 实现§
源代码§impl Clone for AudioSettingsSubType
impl Clone for AudioSettingsSubType
源代码§fn clone(&self) -> AudioSettingsSubType
fn clone(&self) -> AudioSettingsSubType
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. 阅读更多源代码§impl Debug for AudioSettingsSubType
impl Debug for AudioSettingsSubType
源代码§impl PartialEq for AudioSettingsSubType
impl PartialEq for AudioSettingsSubType
impl Copy for AudioSettingsSubType
impl Eq for AudioSettingsSubType
impl StructuralPartialEq for AudioSettingsSubType
自动 Trait 实现§
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
通用实现§
源代码§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
源代码§impl<T> IntoEither for T
impl<T> IntoEither for T
源代码§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left is true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多源代码§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left(&self) returns true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多