MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS attribute

Contains flags to configure the audio renderer.

Data type

UINT32

Remarks

The value of this attribute is a bitwise OR of the following flags.

Value Description
MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_CROSSPROCESS The audio renderer is uses a cross-process audio session. This flag enables audio renderers in multiple processes to share the same audio session, along with the associated volume and policy controls.
If this flag is not set, the audio session cannot be shared by audio renderers in other processes.
MF_AUDIO_RENDERER_ATTRIBUTE_FLAGS_NOPERSIST The Windows audio session API (WASAPI) will not persist the properties for this audio session, such as the session volume.
If this flag is not set, WASAPI will persist the audio session properties.

 

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::GetUINT32

IMFAttributes::SetUINT32

Streaming Audio Renderer