The DEVICE_STATE_XXX constants indicate the current state of an audio endpoint device.
Namespace: Ozeki.MediaAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax [FlagsAttribute]
public enum DeviceState
<FlagsAttribute>
Public Enumeration DeviceState
[FlagsAttribute]
public enum class DeviceState
[<FlagsAttribute>]
type DeviceState
Members
| Member name | Value | Description |
---|
| Active | 1 |
The audio endpoint device is active. That is, the audio adapter that connects to the endpoint device is present and enabled.
In addition, if the endpoint device plugs into a jack on the adapter, then the endpoint device is plugged in.
|
| Disabled | 2 |
The audio endpoint device is disabled. The user has disabled the device in the Windows multimedia control panel.
|
| NotPresent | 4 |
The audio endpoint device is not present because the audio adapter that connects to the endpoint device has been removed from the system,
or the user has disabled the adapter device in Device Manager.
|
| Unplugged | 8 |
The audio endpoint device is unplugged. The audio adapter that contains the jack for the endpoint device is present and enabled,
but the endpoint device is not plugged into the jack. Only a device with jack-presence detection can be in this state.
|
| All | 15 |
Includes audio endpoint devices in all states—active, disabled, not present, and unplugged.
|
See Also