Export (0) Print
Expand All
Expand Minimize

MEAudioSessionFormatChanged event

Raised by the audio renderer when the default audio format for the audio device changes. 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.

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::OnSessionDisconnected event from the user-mode audio session with the disconnection reason equal to DisconnectReasonFormatChanged.

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

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

Media Foundation Events
Streaming Audio Renderer

 

 

Community Additions

ADD
Show:
© 2014 Microsoft