Udostępnij za pośrednictwem


AudioDeviceType Enum

Definition

Describes the primary usage of the device that is being used to play back audio. This value is used by AudioDeviceType.

public enum class AudioDeviceType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class AudioDeviceType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum AudioDeviceType
Public Enum AudioDeviceType
Inheritance
AudioDeviceType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Console 0

The device is a console and the audio session might support games, notifications, voice commands, and so on.

Multimedia 1

The device is intended for multimedia playback and/or recording.

Communications 2

The device is primarily for voice communications.

Applies to