AudioTrackSupportInfo クラス

定義

AudioTrack のサポート情報を提供します。 この情報には、オーディオ デコーダーの状態、デコーダーによって適用されるオーディオの低下に関する情報、オーディオ トラックが関連付けられている MediaSource の状態が含まれます。

public ref class AudioTrackSupportInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioTrackSupportInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioTrackSupportInfo
Public NotInheritable Class AudioTrackSupportInfo
継承
Object Platform::Object IInspectable AudioTrackSupportInfo
属性

Windows の要件

デバイス ファミリ
Windows 10 Anniversary Edition (10.0.14393.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v3.0 で導入)

注釈

AudioTrack を開いたときにエラーが発生した場合は、OpenFailed イベントを処理し、イベントに送信者として渡された AudioTrackSupportInfo プロパティを確認することで、詳細な状態とエラー情報を取得できます。

プロパティ

DecoderStatus

オーディオ トラックのエンコードが完全または部分的にサポートされているかどうか、デコーダーがオーディオを低下させるかどうかなど、 AudioTrack をデコードしているオーディオ デコーダーの状態を取得します。

Degradation

オーディオ デコーダーによって AudioTrack に適用される劣化の種類 (ある場合) を示す値を取得します。

DegradationReason

オーディオデコーダーが AudioTrack を低下させる理由を示す値を取得します (オーディオが低下している場合)。

MediaSourceStatus

AudioTrack が関連付けられている MediaSource の状態を取得します。

適用対象