#include <iostream>
Go to the source code of this file.
|
enum | ASR_ERROR_CODE {
ASR_RETURN_OK = 0,
ASR_RETURN_ERROR,
ASR_ERROR_FILE_NOT_EXIST,
ASR_ERROR_FILE_OPEN_FAIL,
ASR_ERROR_REALLOC_FAIL,
ASR_ERROR_MALLOC_FAIL,
ASR_ERROR_JSON_PARSE_FAIL,
ASR_ERROR_TOKEN_CURL,
ASR_ERROR_TOKEN_PARSE_ACCESS_TOKEN,
ASR_ERROR_TOKEN_PARSE_SCOPE,
ASR_ERROR_CURL,
ASR_ERROR_XFEI_API_FAIL,
ASR_ERROR_WRONG_NUMBER_OF_PARAMS,
ASR_ERROR_XFEI_BUILD_GRAMMAR_FAIL
} |
| ASR MODULE错误码定义 More...
|
|
enum | AWAKEN_ERROR_CODE {
AWAKEN_RETURN_OK = 0,
AWAKEN_RETURN_ERROR,
AWAKEN_ERROR_FILE_NOT_EXIST,
AWAKEN_ERROR_REALLOC_FAIL,
AWAKEN_ERROR_MALLOC_FAIL,
AWAKEN_ERROR_JSON_PARSE_FAIL,
AWAKEN_ERROR_XFEI_API_FAIL
} |
| AWAKEN MODULE错误码定义 More...
|
|
enum | ERROR_CODE { RETURN_OK = 0,
ERROR_XUNFEI_LOGIN_FAIL,
ERROR_FILE_OPEN_FAIL,
ERROR_DIRECTORY_OPEN_FAIL
} |
| 通用错误码定义 More...
|
|
enum | NLP_ERROR_CODE { NLP_RETURN_SUCCESS = 0,
NLP_ERROR_JSON_PARSE_FAIL,
NLP_ERROR_CURL
} |
| NLP MODULE错误码定义 More...
|
|
enum | RECORD_ERROR_CODE {
RECORD_SUCCESS = 0,
RECORD_ERROR_GENERAL,
RECORD_ERROR_INVAL,
RECORD_ERROR_NOT_READY,
RECORD_ERROR_OPEN_PCM_DEVICE_FAIL,
RECORD_ERROR_CONFIG_PCM_FAIL,
RECORD_ERROR_ACCESS_TYPE_NOT_AVAILABLE,
RECORD_ERROR_INVALID_WAV_FORMAT,
RECORD_ERROR_SAMPLE_FORMAT_NOT_AVAILABLE,
RECORD_ERROR_CHANNEL_COUNT_NOT_AVAILABLE,
RECORD_ERROR_RATE_SET_FAIL,
RECORD_ERROR_SET_PERIOD_TIME_FAIL,
RECORD_ERROR_INSTALL_HW_PARAM_FAIL,
RECORD_ERROR_GET_PERIOD_SIZE_FAIL,
RECORD_ERROR_GET_PERIOD_TIME_FAIL,
RECORD_ERROR_MALLOC_FAIL,
RECORD_ERROR_OVERRUN,
RECORD_ERROR_FAIL_TO_READ,
RECORD_ERROR_SHORT_READ
} |
| 录音相关操作错误码定义 More...
|
|
enum | TTS_ERROR_CODE {
TTS_RETURN_SUCCESS = 0,
TTS_ERROR_OPEN_PCM_DEVICE_FAIL,
TTS_ERROR_SND_PCM_HW_PARAM_ALLOCA_FAIL,
TTS_ERROR_SND_PCM_HW_PARAMS_ANY,
TTS_ERROR_SND_PCM_HW_SET_ACCESS,
TTS_ERROR_SET_CHANNEL_FAIL,
TTS_ERROR_RATE_SET_FAIL,
TTS_ERROR_SET_HW_PARAM_FAIL,
TTS_ERROR_GET_PERIOD_SIZE_FAIL,
TTS_ERROR_MALLOC_FAIL,
TTS_ERROR_FILE_OPEN_FAIL
} |
| TTS MODULE错误码定义 More...
|
|
ASR MODULE错误码定义
Enumerator |
---|
ASR_RETURN_OK |
|
ASR_RETURN_ERROR |
|
ASR_ERROR_FILE_NOT_EXIST |
|
ASR_ERROR_FILE_OPEN_FAIL |
|
ASR_ERROR_REALLOC_FAIL |
|
ASR_ERROR_MALLOC_FAIL |
|
ASR_ERROR_JSON_PARSE_FAIL |
|
ASR_ERROR_TOKEN_CURL |
|
ASR_ERROR_TOKEN_PARSE_ACCESS_TOKEN |
|
ASR_ERROR_TOKEN_PARSE_SCOPE |
|
ASR_ERROR_CURL |
|
ASR_ERROR_XFEI_API_FAIL |
|
ASR_ERROR_WRONG_NUMBER_OF_PARAMS |
|
ASR_ERROR_XFEI_BUILD_GRAMMAR_FAIL |
|
Definition at line 44 of file common_config.h.
AWAKEN MODULE错误码定义
Enumerator |
---|
AWAKEN_RETURN_OK |
|
AWAKEN_RETURN_ERROR |
|
AWAKEN_ERROR_FILE_NOT_EXIST |
|
AWAKEN_ERROR_REALLOC_FAIL |
|
AWAKEN_ERROR_MALLOC_FAIL |
|
AWAKEN_ERROR_JSON_PARSE_FAIL |
|
AWAKEN_ERROR_XFEI_API_FAIL |
|
Definition at line 65 of file common_config.h.
通用错误码定义
Enumerator |
---|
RETURN_OK |
|
ERROR_XUNFEI_LOGIN_FAIL |
|
ERROR_FILE_OPEN_FAIL |
|
ERROR_DIRECTORY_OPEN_FAIL |
|
Definition at line 7 of file common_config.h.
NLP MODULE错误码定义
Enumerator |
---|
NLP_RETURN_SUCCESS |
|
NLP_ERROR_JSON_PARSE_FAIL |
|
NLP_ERROR_CURL |
|
Definition at line 96 of file common_config.h.
录音相关操作错误码定义
Enumerator |
---|
RECORD_SUCCESS |
|
RECORD_ERROR_GENERAL |
|
RECORD_ERROR_INVAL |
|
RECORD_ERROR_NOT_READY |
|
RECORD_ERROR_OPEN_PCM_DEVICE_FAIL |
|
RECORD_ERROR_CONFIG_PCM_FAIL |
|
RECORD_ERROR_ACCESS_TYPE_NOT_AVAILABLE |
|
RECORD_ERROR_INVALID_WAV_FORMAT |
|
RECORD_ERROR_SAMPLE_FORMAT_NOT_AVAILABLE |
|
RECORD_ERROR_CHANNEL_COUNT_NOT_AVAILABLE |
|
RECORD_ERROR_RATE_SET_FAIL |
|
RECORD_ERROR_SET_PERIOD_TIME_FAIL |
|
RECORD_ERROR_INSTALL_HW_PARAM_FAIL |
|
RECORD_ERROR_GET_PERIOD_SIZE_FAIL |
|
RECORD_ERROR_GET_PERIOD_TIME_FAIL |
|
RECORD_ERROR_MALLOC_FAIL |
|
RECORD_ERROR_OVERRUN |
|
RECORD_ERROR_FAIL_TO_READ |
|
RECORD_ERROR_SHORT_READ |
|
Definition at line 18 of file common_config.h.
TTS MODULE错误码定义
Enumerator |
---|
TTS_RETURN_SUCCESS |
|
TTS_ERROR_OPEN_PCM_DEVICE_FAIL |
|
TTS_ERROR_SND_PCM_HW_PARAM_ALLOCA_FAIL |
|
TTS_ERROR_SND_PCM_HW_PARAMS_ANY |
|
TTS_ERROR_SND_PCM_HW_SET_ACCESS |
|
TTS_ERROR_SET_CHANNEL_FAIL |
|
TTS_ERROR_RATE_SET_FAIL |
|
TTS_ERROR_SET_HW_PARAM_FAIL |
|
TTS_ERROR_GET_PERIOD_SIZE_FAIL |
|
TTS_ERROR_MALLOC_FAIL |
|
TTS_ERROR_FILE_OPEN_FAIL |
|
Definition at line 78 of file common_config.h.