MediaDevice.GetDefaultAudioRenderId(AudioDeviceRole) Method
Definition
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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin