Returns the identifier string of the default device for capturing audio in the specified role.
public:
static String^ GetDefaultAudioCaptureId(
AudioDeviceRole role
)
role
Type: AudioDeviceRole
The specified audio device role (console, media, or communications).
Type: String
The identifier string of the default device.
Namespace: Windows.Media.Devices
Metadata: windows.winmd