MEAudioSessionExclusiveModeOverride event

Raised by the audio renderer when the audio session is preempted by an exclusive-mode connection. The audio renderer is now invalid.

The Media Session forwards this event to the application.

Event values

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

VARTYPE Description
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::OnSessionDisconnected event from the audio session with the disconnection reason equal to DisconnectReasonExclusiveModeOverride.

The IMFAudioPolicy pointer, if set, is not useful, because the audio stream is no longer valid.

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

Media Foundation Events

Streaming Audio Renderer