MF_DEVSOURCE_ATTRIBUTE_SOURCE_TYPE_AUDCAP_ENDPOINT_ID attribute

Specifies the endpoint ID for an audio capture device.

Data type

WCHAR*

Get/set

To get this attribute, call IMFAttributes::GetString.

To set this attribute, call IMFAttributes::SetString.

Remarks

The value of the attribute is an endpoint ID. This attribute is used with the following functions:

  • It can be used as input to the MFCreateDeviceSource and MFCreateDeviceSourceActivate functions. In this context, the attribute specifies the audio capture device for the function. You can get the endpoint ID for a given device by calling the IMMDevice::GetId method. See the Core Audio API documentation for more information.
  • When the MFEnumDeviceSources function enumerates audio devices, the returned activation objects contain this attribute. The attribute is used internally by the activation object when it creates the media source.

The GUID constant for this attribute is exported from mfuuid.lib.

Requirements

Requirement Value
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

Audio/Video Capture

Capture Device Attributes