Udostępnij za pośrednictwem


AudioDecoderDegradation Enum

Definition

Specifies the type of degredation, if any, applied to an AudioTrack by the audio decoder.

public enum class AudioDecoderDegradation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
enum class AudioDecoderDegradation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
public enum AudioDecoderDegradation
var value = Windows.Media.Core.AudioDecoderDegradation.none
Public Enum AudioDecoderDegradation
Inheritance
AudioDecoderDegradation
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

The audio track is not degraded and is played as encoded.

DownmixTo2Channels 1

The audio track is downmixed from the number of channels in the encoding to two channels.

DownmixTo6Channels 2

The audio track is downmixed from the number of channels in the encoding to six channels.

DownmixTo8Channels 3

The audio track is downmixed from the number of channels in the encoding to eight channels.

Remarks

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

Applies to