Enumeration : CaErrorCode
CaErrorCode是個
列舉型態,通常用來反應所呼叫的函式回應是否正確,大於或等於零的返回值通常都是正確的值,其值的定義如下:
名稱 | 值 | 說明 |
NoError | 0 | 沒有任何錯誤時的返回值 |
NotInitialized | -10000 | |
UnanticipatedHostError | -10001 | |
InvalidChannelCount | -10002 | |
InvalidSampleRate | -10003 | |
InvalidDevice | -10004 | |
InvalidFlag | -10005 | |
SampleFormatNotSupported | -10006 | |
BadIODeviceCombination | -10007 | |
InsufficientMemory | -10008 | |
BufferTooBig | -10009 | |
BufferTooSmall | -10010 | |
NullCallback | -10011 | |
BadStreamPtr | -10012 | |
TimedOut | -10013 | |
InternalError | -10014 | |
DeviceUnavailable | -10015 | |
IncompatibleHostApiSpecificStreamInfo | -10016 | |
StreamIsStopped | -10017 | |
StreamIsNotStopped | -10018 | |
InputOverflowed | -10019 | |
OutputUnderflowed | -10020 | |
HostApiNotFound | -10021 | |
InvalidHostApi | -10022 | |
CanNotReadFromACallbackStream | -10023 | |
CanNotWriteToACallbackStream | -10024 | |
CanNotReadFromAnOutputOnlyStream | -10025 | |
CanNotWriteToAnInputOnlyStream | -10026 | |
IncompatibleStreamHostApi | -10027 | |
BadBufferPtr | -10028 | |