AudioDeviceRole
AudioDeviceRole
AudioDeviceRole
AudioDeviceRole
Enum
Definition
Indicates the role of an audio device.
public : enum class AudioDeviceRolepublic enum AudioDeviceRolePublic Enum AudioDeviceRole// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| Communications Communications Communications Communications | The audio device is used for communications. |
| Default Default Default Default | The audio device is used in the default role. |
Remarks
The AudioDeviceRole enumeration is used by the GetDefaultAudioCaptureId and GetDefaultAudioRenderId methods to specify the type of default audio device for capture or rendering.