Table of Contents

Enum AudioSessionDisconnectReason

Namespace
AudioDeviceLib.CoreAudioApi
Assembly
AudioDeviceLib.dll

Reasons an audio session can be disconnected, matching the native AudioSessionDisconnectReason.

[PublicAPI]
public enum AudioSessionDisconnectReason

Fields

DeviceRemoval = 0

The audio endpoint device was removed.

ExclusiveModeOverride = 5

The (shared-mode) session was pre-empted by an exclusive-mode connection.

FormatChanged = 2

The stream format changed for the device the session is connected to.

ServerShutdown = 1

The Windows audio service was shut down.

SessionDisconnected = 4

The Windows session was disconnected.

SessionLogoff = 3

The user logged off the Windows session the audio session was running under.