Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MediaDevice.GetDefaultAudioCaptureId(AudioDeviceRole) Method
Definition
- Namespace:
- Windows.Media.Devices
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the identifier string of the default device for capturing audio in the specified role.
public:
static Platform::String ^ GetDefaultAudioCaptureId(AudioDeviceRole role);
static winrt::hstring GetDefaultAudioCaptureId(AudioDeviceRole const& role);
public static string GetDefaultAudioCaptureId(AudioDeviceRole role);
function getDefaultAudioCaptureId(role)
Public Shared Function GetDefaultAudioCaptureId (role As AudioDeviceRole) As String
Parameters
- role
- AudioDeviceRole
The specified audio device role (console, media, or communications).
Returns
The identifier string of the default device.
Applies to
Feedback
Was this page helpful?
