MEAudioSessionIconChanged event

Raised by the audio renderer when the audio session icon changes.

The Media Session forwards this event to the application.

Event values

Possible values retrieved from IMFMediaEvent::GetValue include the following.

VARTYPEDescription

VT_EMPTY

No event data.

VT_UNKNOWN

Pointer to the IMFAudioPolicy interface.

Remarks

This event is sent by the audio renderer's stream sink. The event is triggered when the audio renderer receives an IAudioSessionEvents::OnIconPathChanged event from the audio session.

To get the new icon, call IMFAudioPolicy::GetIconPath.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Mfobjects.h (include Mfidl.h)

See also

IMFAudioPolicy::GetIconPath
Media Foundation Events
Streaming Audio Renderer

 

 

Show: