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 = 0The audio endpoint device was removed.
ExclusiveModeOverride = 5The (shared-mode) session was pre-empted by an exclusive-mode connection.
FormatChanged = 2The stream format changed for the device the session is connected to.
ServerShutdown = 1The Windows audio service was shut down.
SessionDisconnected = 4The Windows session was disconnected.
SessionLogoff = 3The user logged off the Windows session the audio session was running under.