GetDefaultAudioCaptureId
Collapse the table of content
Expand the table of content

GetDefaultAudioCaptureId

July 21, 2014

Applies to: Windows Phone 8 and Windows Phone Silverlight 8.1 only

This method returns the audio capture interface ID for the specified role.

LPCWSTR GetDefaultAudioCaptureId(
AudioDeviceRole role
);

role

[in] A member of the AudioDeviceRole enumeration indicating the role for which audio interface ID is being requested.

A string containing the requested interface ID. This value can then be passed into ActivateAudioInterface. Returns NULL if the requested interface is not found. Apps must free the memory of the returned string using CoTaskMemFree.

This method is similar to the GetDefaultAudioCaptureId(AudioDeviceRole) method on the desktop.

Minimum supported phone

Windows Phone 8

Header

phoneaudioclient.h

Static library

Phoneaudioses.lib

Runtime library

Phoneaudioses.dll

Show:
© 2016 Microsoft