Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MediaDevice.GetDefaultAudioRenderId(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 rendering audio in the specified role.
public:
static Platform::String ^ GetDefaultAudioRenderId(AudioDeviceRole role);
static winrt::hstring GetDefaultAudioRenderId(AudioDeviceRole const& role);
public static string GetDefaultAudioRenderId(AudioDeviceRole role);
function getDefaultAudioRenderId(role)
Public Shared Function GetDefaultAudioRenderId (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?
