MF_AUDIO_RENDERER_ATTRIBUTE_SESSION_ID attribute

Specifies the audio policy class for the audio renderer.

Data type

GUID

Remarks

This attribute associates the audio renderer with an audio policy class. Each policy class has its own volume and policy control. If this attribute is not set, the new SAR joins the application's default audio session. For more information, see IAudioClient::Initialize in the core audio API documentation.

You can use this attribute to configure the audio renderer. The usage depends on which function you call to create the audio renderer:

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

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Mfidl.h

See also

Alphabetical List of Media Foundation Attributes

Audio Renderer Attributes

IMFAttributes::GetGUID

IMFAttributes::SetGUID

Streaming Audio Renderer