Table of Contents

Class AudioClientErrorCode

Namespace
NAudio.CoreAudioApi.Interfaces
Assembly
NAudio.Wasapi.dll

Audio Client WASAPI Error Codes (HResult)

public static class AudioClientErrorCode
Inheritance
AudioClientErrorCode
Inherited Members

Fields

AlreadyInitialized

AUDCLNT_E_ALREADY_INITIALIZED

public const int AlreadyInitialized = -2004287486

Field Value

int

BufferDurationPeriodNotEqual

AUDCLNT_E_BUFDURATION_PERIOD_NOT_EQUAL

public const int BufferDurationPeriodNotEqual = -2004287469

Field Value

int

BufferError

AUDCLNT_E_BUFFER_ERROR

public const int BufferError = -2004287464

Field Value

int

BufferOperationPending

AUDCLNT_E_BUFFER_OPERATION_PENDING

public const int BufferOperationPending = -2004287477

Field Value

int

BufferSizeError

AUDCLNT_E_BUFFER_SIZE_ERROR

public const int BufferSizeError = -2004287466

Field Value

int

BufferSizeNotAligned

AUDCLNT_E_BUFFER_SIZE_NOT_ALIGNED

public const int BufferSizeNotAligned = -2004287463

Field Value

int

BufferTooLarge

AUDCLNT_E_BUFFER_TOO_LARGE

public const int BufferTooLarge = -2004287482

Field Value

int

CpuUsageExceeded

AUDCLNT_E_CPUUSAGE_EXCEEDED

public const int CpuUsageExceeded = -2004287465

Field Value

int

DeviceInUse

AUDCLNT_E_DEVICE_IN_USE

public const int DeviceInUse = -2004287478

Field Value

int

DeviceInvalidated

AUDCLNT_E_DEVICE_INVALIDATED

public const int DeviceInvalidated = -2004287484

Field Value

int

EndpointCreateFailed

AUDCLNT_E_ENDPOINT_CREATE_FAILED

public const int EndpointCreateFailed = -2004287473

Field Value

int

EndpointOffloadNotCapable

AUDCLNT_E_ENDPOINT_OFFLOAD_NOT_CAPABLE

public const int EndpointOffloadNotCapable = -2004287454

Field Value

int

EngineFormatLocked

AUDCLNT_E_ENGINE_FORMAT_LOCKED

public const int EngineFormatLocked = -2004287447

Field Value

int

EnginePeriodicityLocked

AUDCLNT_E_ENGINE_PERIODICITY_LOCKED

public const int EnginePeriodicityLocked = -2004287448

Field Value

int

EventHandleNotExpected

AUDCLNT_E_EVENTHANDLE_NOT_EXPECTED

public const int EventHandleNotExpected = -2004287471

Field Value

int

EventHandleNotSet

AUDCLNT_E_EVENTHANDLE_NOT_SET

public const int EventHandleNotSet = -2004287468

Field Value

int

ExclusiveModeNotAllowed

AUDCLNT_E_EXCLUSIVE_MODE_NOT_ALLOWED

public const int ExclusiveModeNotAllowed = -2004287474

Field Value

int

ExclusiveModeOnly

AUDCLNT_E_EXCLUSIVE_MODE_ONLY

public const int ExclusiveModeOnly = -2004287470

Field Value

int

HeadTrackingEnabled

AUDCLNT_E_HEADTRACKING_ENABLED

public const int HeadTrackingEnabled = -2004287440

Field Value

int

HeadTrackingUnsupported

AUDCLNT_E_HEADTRACKING_UNSUPPORTED

public const int HeadTrackingUnsupported = -2004287424

Field Value

int

IncorrectBufferSize

AUDCLNT_E_INCORRECT_BUFFER_SIZE

public const int IncorrectBufferSize = -2004287467

Field Value

int

InvalidDevicePeriod

AUDCLNT_E_INVALID_DEVICE_PERIOD

public const int InvalidDevicePeriod = -2004287456

Field Value

int

InvalidSize

AUDCLNT_E_INVALID_SIZE

public const int InvalidSize = -2004287479

Field Value

int

InvalidStreamFlag

AUDCLNT_E_INVALID_STREAM_FLAG

public const int InvalidStreamFlag = -2004287455

Field Value

int

NoSingleProcess

AUDCLNT_E_NO_SINGLE_PROCESS

public const int NoSingleProcess = -2004287475

Field Value

int

NonOffloadModeOnly

AUDCLNT_E_NONOFFLOAD_MODE_ONLY

public const int NonOffloadModeOnly = -2004287451

Field Value

int

NotInitialized

AUDCLNT_E_NOT_INITIALIZED

public const int NotInitialized = -2004287487

Field Value

int

NotStopped

AUDCLNT_E_NOT_STOPPED

public const int NotStopped = -2004287483

Field Value

int

OffloadModeOnly

AUDCLNT_E_OFFLOAD_MODE_ONLY

public const int OffloadModeOnly = -2004287452

Field Value

int

OutOfOffloadResources

AUDCLNT_E_OUT_OF_OFFLOAD_RESOURCES

public const int OutOfOffloadResources = -2004287453

Field Value

int

OutOfOrder

AUDCLNT_E_OUT_OF_ORDER

public const int OutOfOrder = -2004287481

Field Value

int

RawModeUnsupported

AUDCLNT_E_RAW_MODE_UNSUPPORTED

public const int RawModeUnsupported = -2004287449

Field Value

int

ResourcesInvalidated

AUDCLNT_E_RESOURCES_INVALIDATED

public const int ResourcesInvalidated = -2004287450

Field Value

int

ServiceNotRunning

AUDCLNT_E_SERVICE_NOT_RUNNING

public const int ServiceNotRunning = -2004287472

Field Value

int

ThreadNotRegistered

AUDCLNT_E_THREAD_NOT_REGISTERED

public const int ThreadNotRegistered = -2004287476

Field Value

int

UnsupportedFormat

AUDCLNT_E_UNSUPPORTED_FORMAT

public const int UnsupportedFormat = -2004287480

Field Value

int

WrongEndpointType

AUDCLNT_E_WRONG_ENDPOINT_TYPE

public const int WrongEndpointType = -2004287485

Field Value

int