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 = 1Match endpoints that are active and available for use.
All = Active | Disabled | NotPresent | UnpluggedMatch endpoints in any state.
Disabled = 2Match endpoints that are disabled (turned off in the Windows sound control panel).
NotPresent = 4Match endpoints that are not present (e.g. removed).
Unplugged = 8Match endpoints that are present but whose audio jack is unplugged.