AudioDeviceRole AudioDeviceRole AudioDeviceRole AudioDeviceRole Enum


Indicates the role of an audio device.

public : enum class AudioDeviceRolepublic enum AudioDeviceRolePublic Enum AudioDeviceRole// You can use this enum in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


The AudioDeviceRole enumeration is used by the GetDefaultAudioCaptureId and GetDefaultAudioRenderId methods to specify the type of default audio device for capture or rendering.


Communications Communications Communications Communications

The audio device is used for communications.

Default Default Default Default

The audio device is used in the default role.