AudioTrackSupportInfo AudioTrackSupportInfo AudioTrackSupportInfo AudioTrackSupportInfo Class

Definition

Provides support information for an AudioTrack. This information includes the status of the audio decoder, information about any audio degradation applied by the decoder, and the status of the MediaSource with which the audio track is associated.

public : sealed class AudioTrackSupportInfo : IAudioTrackSupportInfopublic sealed class AudioTrackSupportInfo : IAudioTrackSupportInfoPublic NotInheritable Class AudioTrackSupportInfo Implements IAudioTrackSupportInfo// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

If a failure occurs when an AudioTrack is opened, you can get detailed status and failure information by handling the OpenFailed event and checking the SupportInfo property of the AudioTrack passed into the event as the sender.

Properties

DecoderStatus DecoderStatus DecoderStatus DecoderStatus

Gets the status of the audio decoder that is decoding the AudioTrack, including whether the encoding for the audio track is fully or partially supported and whether the decoder will degrade the audio.

public : MediaDecoderStatus DecoderStatus { get; }public MediaDecoderStatus DecoderStatus { get; }Public ReadOnly Property DecoderStatus As MediaDecoderStatus// You can use this property in JavaScript.
Value
MediaDecoderStatus MediaDecoderStatus MediaDecoderStatus MediaDecoderStatus

The status of the audio decoder that is decoding the AudioTrack.

Degradation Degradation Degradation Degradation

Gets a value indicating the type of degradation, if any, that is applied to the AudioTrack by the audio decoder.

public : AudioDecoderDegradation Degradation { get; }public AudioDecoderDegradation Degradation { get; }Public ReadOnly Property Degradation As AudioDecoderDegradation// You can use this property in JavaScript.
Value
AudioDecoderDegradation AudioDecoderDegradation AudioDecoderDegradation AudioDecoderDegradation

The type of degradation, if any, that is applied to the AudioTrack by the audio decoder.

DegradationReason DegradationReason DegradationReason DegradationReason

Gets a value indicating the reason that the audio decoder is degrading the AudioTrack, if the audio is degraded.

public : AudioDecoderDegradationReason DegradationReason { get; }public AudioDecoderDegradationReason DegradationReason { get; }Public ReadOnly Property DegradationReason As AudioDecoderDegradationReason// You can use this property in JavaScript.

MediaSourceStatus MediaSourceStatus MediaSourceStatus MediaSourceStatus

Gets the status of the MediaSource with which the AudioTrack is associated.

public : MediaSourceStatus MediaSourceStatus { get; }public MediaSourceStatus MediaSourceStatus { get; }Public ReadOnly Property MediaSourceStatus As MediaSourceStatus// You can use this property in JavaScript.
Value
MediaSourceStatus MediaSourceStatus MediaSourceStatus MediaSourceStatus

The status of the MediaSource with which the AudioTrack is associated.