MediaDevice.GetDefaultAudioRenderId Method

Returns the identifier string of the default device for rendering audio in the specified role.

Syntax

public:
static String^ GetDefaultAudioRenderId(
         AudioDeviceRole role
)  

Parameters

role
Type: AudioDeviceRole 

The specified audio device role (console, media, or communications).

Return value

Type: String 

  The identifier string of the default device.

Requirements

Namespace: Windows.Media.Devices

Metadata: windows.winmd

See also

Reference

MediaDevice Class

MediaDevice Members

Windows.Media.Devices Namespace