Table of Contents

Enum AsioDeviceState

Namespace
NAudio.Wave
Assembly
NAudio.Asio.dll

Lifecycle states for an AsioDevice.

public enum AsioDeviceState

Fields

Configured = 1

An Init* method has succeeded but Start() has not yet been called.

Disposed = 4

The device has been disposed. All further operations throw ObjectDisposedException.

Running = 2

The driver is currently running and delivering buffer callbacks.

Stopped = 3

The driver was started and has since been stopped. Can be restarted via Start(). If the stop was caused by a driver fault, the exception is delivered via the Stopped event's Exception.

Unconfigured = 0

Device is open but no Init* method has been called yet.