IMFAudioPolicy interface (mfidl.h)

Configures the audio session that is associated with the streaming audio renderer (SAR). Use this interface to change how the audio session appears in the Windows volume control.

The SAR exposes this interface as a service. To get a pointer to the interface, call IMFGetService::GetService with the service identifier MR_AUDIO_POLICY_SERVICE. You can call GetService directly on the SAR or call it on the Media Session.

Inheritance

The IMFAudioPolicy interface inherits from the IUnknown interface. IMFAudioPolicy also has these types of members:

Methods

The IMFAudioPolicy interface has these methods.

 
IMFAudioPolicy::GetDisplayName

Retrieves the display name of the audio session. The Windows volume control displays this name.
IMFAudioPolicy::GetGroupingParam

Retrieves the group of sessions to which this audio session belongs.
IMFAudioPolicy::GetIconPath

Retrieves the icon resource for the audio session. The Windows volume control displays this icon.
IMFAudioPolicy::SetDisplayName

Sets the display name of the audio session. The Windows volume control displays this name.
IMFAudioPolicy::SetGroupingParam

Assigns the audio session to a group of sessions.
IMFAudioPolicy::SetIconPath

Sets the icon resource for the audio session. The Windows volume control displays this icon.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header mfidl.h

See also

Media Foundation Interfaces

Streaming Audio Renderer