Dela via


AudioTrack.SupportInfo Property

Definition

Gets support information for the 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:
 property AudioTrackSupportInfo ^ SupportInfo { AudioTrackSupportInfo ^ get(); };
AudioTrackSupportInfo SupportInfo();
public AudioTrackSupportInfo SupportInfo { get; }
var audioTrackSupportInfo = audioTrack.supportInfo;
Public ReadOnly Property SupportInfo As AudioTrackSupportInfo

Property Value

The support information for the AudioTrack.

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.

Applies to