MF_AUDIO_RENDERER_ATTRIBUTE_STREAM_CATEGORY attribute

Specifies the audio stream category for the Streaming Audio Renderer (SAR).

Data type

UINT32

Remarks

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

Function How to Set the attribute
MFCreateAudioRenderer Use the IMFAttributes pointer specified in the pAudioAttributes parameter.
MFCreateAudioRendererActivate Use the IMFActivate pointer returned in the ppActivate parameter. Set the attribute before calling IMFActivate::ActivateObject.

 

The value of the attribute is a member of the AUDIO_STREAM_CATEGORY enumeration. The audio service uses the stream category to determine audio policies when multiple applications play audio at the same time.

Requirements

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

See also

Alphabetical List of Media Foundation Attributes