EAudioSessionDisconnectReason Enumeration

Defines constants that indicate the current state of an audio session.

The OnSessionDisconnected(EAudioSessionDisconnectReason) function use the constants defined in the EAudioSessionDisconnectReason enumeration.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum EAudioSessionDisconnectReason

Remarks

Members

DeviceRemoval 0 The user removed the audio endpoint device.
ServerShutdown 1 The Windows audio service has stopped.
FormatChanged 2 The stream format changed for the device that the audio session is connected to.
SessionLogoff 3 The user logged off the Windows Terminal Services (WTS) session that the audio session was running in.
SessionDisconnected 4 The WTS session that the audio session was running in was disconnected.
ExclusiveModeOverride 5 The (shared-mode) audio session was disconnected to make the audio endpoint device available for an exclusive-mode connection.

See Also