10.5. Error Codes¶
10.5.1. AudioAttributeError Codes¶
CvitekAudioUseCVI_SUCCESS/CVI_FAILUREtogenerationTablethisErrorcode:
#define CVI_SUCCESS 0 #define CVI_FAILURE (-1) // Use者需Note,CVI_TRUE/CVI_FALSE仅拿来做基本的判断回复,并未被Use作为Success或Failure的判断: #define CVI_TRUE 1 #define CVI_FALSE 0 10.5.2. Audio inputError Codes¶
CvitekAudio inputError Codes, canrefer to cvi_comm_aio.h Related, correspondingError Codesallis CVI_ERR_AI:
Error Code | Macro Definitions | Description |
|---|---|---|
0xAA000001 | CVI_ERR_AIO_ILLEGAL_PARAM | Audio inputInvalid parameter setting |
0xAA000002 | CVI_ERR_AIO_NULL_PTR | Null pointer error in an input parameter |
0xAA000003 | CVI_ERR_AIO_NOT_PERM | Operation not allowed |
0xAA000004 | CVI_ERR_AIO_REGISTER_ERR | registerFailure |
0xA0000005 | CVI_ERR_AI_INVALID_DEVID | Invalid device ID |
0xA0000006 | CVI_ERR_AI_INVALID_CHNID | Invalid channel ID |
0xA0000001 | CVI_ERR_AI_ILLEGAL_PARAM | Audio inputInvalid parameter setting |
0xA0000002 | CVI_ERR_AI_NULL_PTR | Null pointer error in an input parameter |
0xA0000007 | CVI_ERR_AI_NOT_CONFIG | Parameter not set |
0xA0000008 | CVI_ERR_AI_NOT_SUPPORT | The specified parameter is not supported |
0xA0000009 | CVI_ERR_AI_NOT_ENABLED | Audio Input cannot be enabled in this status |
0xA0000003 | CVI_ERR_AI_NOT_PERM | Parameter setting not supported |
0xA000000A | CVI_ERR_AI_NOMEM | Insufficient memory |
0xA000000B | CVI_ERR_AI_NOBUF | The buffer is unset or uninitialized |
0xA000000C | CVI_ERR_AI_BUF_EMPTY | The buffer data is empty |
0xA000000D | CVI_ERR_AI_BUF_FULL | The buffer is full |
0xA000000E | CVI_ERR_AI_SYS_NOTREADY | The system is busy and has not yet reached a usable state |
0xA000000F | CVI_ERR_AI_BUSY | Audio Input module is busy |
0xA0000010 | CVI_ERR_AI_VQE_ERR | VQE module error |
0xA0000011 | CVI_ERR_AI_VQE_BUF_FULL | VQE Bufferisempty |
0xA0000012 | CVI_ERR_AI_VQE_FILE_UNEXIST | VQEConfigurationFiledoes not exist |
10.5.3. Audio outputError Codes¶
CvitekAudio outputError Codes, canrefer to cvi_comm_aio.h Related, correspondingError Codesallis CVI_ERR_AO:
Error Code | Macro Definitions | Description |
|---|---|---|
0xA1000001 | CVI_ERR_AO_INVALID_DEVID | Invalid device ID |
0xA1000002 | CVI_ERR_AO_INVALID_CHNID | Invalid channel ID |
0xA1000003 | CVI_ERR_AO_ILLEGAL_PARAM | Audio outputInvalid parameter setting |
0xA1000004 | CVI_ERR_AO_NULL_PTR | Null pointer error in an input parameter |
0xA1000005 | CVI_ERR_AO_NOT_CONFIG | Parameter not set |
0xA1000006 | CVI_ERR_AO_NOT_SUPPORT | The specified parameter is not supported |
0xA1000007 | CVI_ERR_AO_NOT_PERM | Operation not allowed |
0xA1000008 | CVI_ERR_AO_NOT_ENABLED | Audio Input cannot be enabled in this status |
0xA1000009 | CVI_ERR_AO_NOMEM | Insufficient memory |
0xA100000A | CVI_ERR_AO_NOBUF | The buffer is unset or uninitialized |
0xA100000B | CVI_ERR_AO_BUF_EMPTY | The buffer data is empty |
0xA100000C | CVI_ERR_AO_BUF_FULL | The buffer is full |
0xA100000D | CVI_ERR_AO_SYS_NOTREADY | The system is busy and has not yet reached a usable state |
0xA100000E | CVI_ERR_AO_BUSY | Audio Output module is busy |
0xA100000F | CVI_ERR_AO_VQE_ERR | AI_VQE module error |
10.5.4. Audio encodingError Codes¶
CvitekAudio encodingError Codes, canrefer to cvi_comm_aenc.h Related, correspondingError Codesallis CVI_ERR_AENC:
Error Code | Macro Definitions | Description |
|---|---|---|
0xA2000001 | CVI_ERR_AENC_INVALID_DEVID | Invalid device ID |
0xA2000002 | CVI_ERR_AENC_INVALID_CHNID | Invalid channel ID |
0xA2000003 | CVI_ERR_AENC_ILLEGAL_PARAM | Audio encodingInvalid parameter setting |
0xA2000004 | CVI_ERR_AENC_EXIST | audio encoding modulealready enabledUse |
0xA2000005 | CVI_ERR_AENC_UNEXIST | audio encoding moduleStatusisdoes not exist |
0xA2000006 | CVI_ERR_AENC_NULL_PTR | Null pointer error in an input parameter |
0xA2000007 | CVI_ERR_AENC_NOT_CONFIG | Parameter not set |
0xA2000008 | CVI_ERR_AENC_NOT_SUPPORT | The specified parameter is not supported |
0xA2000009 | CVI_ERR_AENC_NOT_PERM | Operation not allowed |
0xA200000A | CVI_ERR_AENC_NOMEM | Insufficient memory |
0xA200000B | CVI_ERR_AENC_NOBUF | The buffer is unset or uninitialized |
0xA200000C | CVI_ERR_AENC_BUF_EMPTY | The buffer data is empty |
0xA200000D | CVI_ERR_AENC_BUF_FULL | The buffer is full |
0xA200000E | CVI_ERR_AENC_SYS_NOTREADY | The system is busy and has not yet reached a usable state |
0xA200000F | CVI_ERR_AENC_ENCODER_ERR | AENC encoding error |
0xA2000010 | CVI_ERR_AENC_VQE_ERR | VQE module error |
10.5.5. Audio decodingError Codes¶
CvitekAudiodecodingError Codes, canrefer to cvi_comm_adec.h Related, correspondingError Codesallis CVI_ERR_ADEC:
Error Code | Macro Definitions | Description |
|---|---|---|
0xA3000001 | CVI_ERR_ADEC_INVALID_DEVID | Invalid device ID |
0xA3000002 | CVI_ERR_ADEC_INVALID_CHNID | Invalid channel ID |
0xA3000003 | CVI_ERR_ADEC_ILLEGAL_PARAM | Audio encodingInvalid parameter setting |
0xA3000004 | CVI_ERR_ADEC_EXIST | Audio decodingModulealready enabledUse |
0xA3000005 | CVI_ERR_ADEC_UNEXIST | Audio decodingModuleStatusisdoes not exist |
0xA3000006 | CVI_ERR_ADEC_NULL_PTR | Null pointer error in an input parameter |
0xA3000007 | CVI_ERR_ADEC_NOT_CONFIG | Parameter not set |
0xA3000008 | CVI_ERR_ADEC_NOT_SUPPORT | The specified parameter is not supported |
0xA3000009 | CVI_ERR_ADEC_NOT_PERM | Operation not allowed |
0xA300000A | CVI_ERR_ADEC_NOMEM | Insufficient memory |
0xA300000B | CVI_ERR_ADEC_NOBUF | The buffer is unset or uninitialized |
0xA300000C | CVI_ERR_ADEC_BUF_EMPTY | The buffer data is empty |
0xA300000D | CVI_ERR_ADEC_BUF_FULL | The buffer is full |
0xA300000E | CVI_ERR_ADEC_SYS_NOTREADY | The system is busy and has not yet reached a usable state |
0xA300000F | CVI_ERR_ADEC_DECODER_ERR | ADECDecodingError |
0xA3000010 | CVI_ERR_ADEC_BUF_LACK | ADE CDecodingInputcachespacenot |