MECaptureAudioSessionDeviceRemoved event

Sent by an audio capture source when the device is removed.

Event values

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

VARTYPE Description
VT_EMPTY
No event data.

Remarks

This event is sent by the media stream of the audio capture source.

The capture source sends this event when it receives an IAudioSessionEvents::OnSessionDisconnected event from the audio session with the disconnection reason equal to DisconnectReasonDeviceRemoval.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Mfobjects.h (include Mfidl.h)

See also

Media Foundation Events