Share via


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 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
Inheritance
Object Platform::Object IInspectable AudioTrackSupportInfo
Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

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

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.

Degradation

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

DegradationReason

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

MediaSourceStatus

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

Applies to