Megosztás a következőn keresztül:


AudioDecoderDegradationReason Enum

Definition

Specifies the reason that the audio decoder degraded an AudioTrack.

public enum class AudioDecoderDegradationReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class AudioDecoderDegradationReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum AudioDecoderDegradationReason
var value = Windows.Media.Core.AudioDecoderDegradationReason.none
Public Enum AudioDecoderDegradationReason
Inheritance
AudioDecoderDegradationReason
Attributes

Windows requirements

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

Fields

Name Value Description
None 0

No reason is specified or no audio degradation has been applied to the track.

LicensingRequirement 1

The audio track was degraded due to a licensing requirement.

SpatialAudioNotSupported 2

The audio track was degraded because the device does not support spatial audio.

Remarks

Get the AudioDecoderDegradation value for an audio track by checking the DegradationReason property of the track's SupportInfo property.

Version history

Windows version SDK version Value added
1703 15063 SpatialAudioNotSupported

Applies to