Redigera

Dela via


MEAudioSessionNameChanged event

Raised by the audio renderer when the audio session display name changes.

The Media Session forwards this event to the application.

Event values

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

VARTYPE Description
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::OnDisplayNameChanged event from the audio session.

To get the new display name, call IMFAudioPolicy::GetDisplayName.

Requirements

Requirement Value
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::GetDisplayName

Media Foundation Events

Streaming Audio Renderer