IMFAudioPolicy interface
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.
Members
The IMFAudioPolicy interface inherits from the IUnknown interface. IMFAudioPolicy also has these types of members:
Methods
The IMFAudioPolicy interface has these methods.
| Method | Description |
|---|---|
| GetDisplayName |
Retrieves the display name of the audio session. |
| GetGroupingParam |
Retrieves the group of sessions to which this audio session belongs. |
| GetIconPath |
Retrieves the icon resource for the audio session. |
| SetDisplayName |
Sets the display name of the audio session. |
| SetGroupingParam |
Assigns the audio session to a group of sessions. |
| SetIconPath |
Sets the icon resource for the audio session. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
Library |
|
See also