MF_AUDIO_RENDERER_ATTRIBUTE_SESSION_ID attribute
Specifies the audio policy class for the audio renderer.
GUID
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:
- MFCreateAudioRenderer: Set this attribute using the IMFAttributes interface pointer specified in the pAudioAttributes parameter.
- MFCreateAudioRendererActivate: Set this attribute using the IMFActivate interface pointer retrieved in the ppActivate parameter. Set the attribute before calling IMFActivate::ActivateObject.
The GUID constant for this attribute is exported from mfuuid.lib.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|