Table of Contents

Enum DeviceStateFilter

Namespace
AudioDeviceLib.CoreAudioApi
Assembly
AudioDeviceLib.dll

A bit mask of endpoint states selecting which endpoints an enumeration returns, matching the native DEVICE_STATE_* constants. The state of a single endpoint is DeviceState.

[Flags]
public enum DeviceStateFilter : uint

Fields

Active = 1

Match endpoints that are active and available for use.

All = Active | Disabled | NotPresent | Unplugged

Match endpoints in any state.

Disabled = 2

Match endpoints that are disabled (turned off in the Windows sound control panel).

NotPresent = 4

Match endpoints that are not present (e.g. removed).

Unplugged = 8

Match endpoints that are present but whose audio jack is unplugged.