msp_errors.h
Go to the documentation of this file.
1 #ifndef __MSP_ERRORS_H__
2 #define __MSP_ERRORS_H__
3 
4 #define MSP_HTTP_ERROR(x) ((x) + MSP_ERROR_HTTP_BASE)
5 
6 enum
7 {
11 
12  /* General errors 10100(0x2774) */
13  MSP_ERROR_GENERAL = 10100, /* 0x2774 */
14  MSP_ERROR_OUT_OF_MEMORY = 10101, /* 0x2775 */
15  MSP_ERROR_FILE_NOT_FOUND = 10102, /* 0x2776 */
16  MSP_ERROR_NOT_SUPPORT = 10103, /* 0x2777 */
17  MSP_ERROR_NOT_IMPLEMENT = 10104, /* 0x2778 */
18  MSP_ERROR_ACCESS = 10105, /* 0x2779 */
20  /* 0x277A */ /* 缺少参数 */
22  /* 0x277B */ /* 无效参数值 */
23  MSP_ERROR_INVALID_HANDLE = 10108, /* 0x277C */
24  MSP_ERROR_INVALID_DATA = 10109, /* 0x277D */
26  /* 0x277E */ /* 引擎授权不足 */
28  /* 0x277F */ /* 引擎未初始化,可能是引擎崩溃 */
29  MSP_ERROR_NULL_HANDLE = 10112, /* 0x2780 */
31  /* 0x2781 */ /* 单用户下模型数超上限(10个), */
32  /* 只出现在测试时对一个用户进行并发注册 */
34  /* 0x2782 */ /* 超时 */
35  MSP_ERROR_OPEN_FILE = 10115, /* 0x2783 */
37  /* 0x2784 */ /* 数据库中模型不存在 */
38  MSP_ERROR_NO_ENOUGH_BUFFER = 10117, /* 0x2785 */
40  /* 0x2786 */ /* 从客户端读音频或从引擎段获取结果时无数据 */
41  MSP_ERROR_NO_MORE_DATA = 10119, /* 0x2787 */
42  MSP_ERROR_NO_RESPONSE_DATA = 10120, /* 0x2788 */
44  /* 0x2789 */ /* 数据库中模型已存在 */
45  MSP_ERROR_LOAD_MODULE = 10122, /* 0x278A */
46  MSP_ERROR_BUSY = 10123, /* 0x278B */
47  MSP_ERROR_INVALID_CONFIG = 10124, /* 0x278C */
48  MSP_ERROR_VERSION_CHECK = 10125, /* 0x278D */
49  MSP_ERROR_CANCELED = 10126, /* 0x278E */
50  MSP_ERROR_INVALID_MEDIA_TYPE = 10127, /* 0x278F */
51  MSP_ERROR_CONFIG_INITIALIZE = 10128, /* 0x2790 */
52  MSP_ERROR_CREATE_HANDLE = 10129, /* 0x2791 */
53  MSP_ERROR_CODING_LIB_NOT_LOAD = 10130, /* 0x2792 */
54  MSP_ERROR_USER_CANCELLED = 10131, /* 0x2793 */
55  MSP_ERROR_INVALID_OPERATION = 10132, /* 0x2794 */
57  /* 0x2795 */ /* flash */
58  MSP_ERROR_NO_EID = 10134, /* 0x2795 */
60  /* 0x2797 */ /* client Redundancy request */
62  /* 0x2798 */ /* user abort */
63  MSP_ERROR_BUSY_GRMBUILDING = 10137, /* 0x2799 */
64  MSP_ERROR_BUSY_LEXUPDATING = 10138, /* 0x279A */
66  /* 0x279B */ /* msc主动终止会话,准备重传 */
68  /* 0x279C */ /* VAD前端点超时 */
70  /* 0X279D */ /* AIUI当前Stream被过滤 */
72  /* 0X279E */ /* AIUI当前Stream被清理 */
73 
74  /* Error codes of network 10200(0x27D8)*/
75  MSP_ERROR_NET_GENERAL = 10200, /* 0x27D8 */
77  /* 0x27D9 */ /* Open socket */
79  /* 0x27DA */ /* Connect socket */
81  /* 0x27DB */ /* Accept socket */
83  /* 0x27DC */ /* Send socket data */
85  /* 0x27DD */ /* Recv socket data */
87  /* 0x27DE */ /* Invalid socket handle */
89  /* 0x27EF */ /* Bad network address */
91  /* 0x27E0 */ /* Bind after listen/connect */
93  /* 0x27E1 */ /* Socket is not opened */
95  /* 0x27E2 */ /* Socket is not bind to an address */
97  /* 0x27E3 */ /* Socket is not listening */
99  /* 0x27E4 */ /* The other side of connection is closed */
101  /* 0x27E5 */ /* The socket is not datagram type */
103  /* 0x27E6 */ /* domain name is invalid or dns server does not function well */
105  /* 0x27E7 */ /* ssl ctx create failed */
106 
107  /*nfl error*/
108  MSP_ERROR_NFL_INNER_ERROR = 10216, /* NFL inner error */
109  MSP_ERROR_MSS_TIME_OUT = 10217, /* MSS TIMEOUT */
110  MSP_ERROT_CLIENT_TIME_OUT = 10218, /* CLIENT TIMEOUT */
111  MSP_ERROR_CLIENT_CLOSE = 10219, /* CLIENT CLOSED CONNECTION */
112 
122 
123  /* Error codes of mssp message 10300(0x283C) */
124  MSP_ERROR_MSG_GENERAL = 10300, /* 0x283C */
125  MSP_ERROR_MSG_PARSE_ERROR = 10301, /* 0x283D */
126  MSP_ERROR_MSG_BUILD_ERROR = 10302, /* 0x283E */
127  MSP_ERROR_MSG_PARAM_ERROR = 10303, /* 0x283F */
128  MSP_ERROR_MSG_CONTENT_EMPTY = 10304, /* 0x2840 */
132  MSP_ERROR_MSG_INVALID_KEY = 10308, /* 0x2844 */
133  MSP_ERROR_MSG_KEY_EMPTY = 10309, /* 0x2845 */
135  /* 0x2846 */ /* 会话ID为空 */
137  /* 0x2847 */ /* 音频序列ID为空 */
138  MSP_ERROR_MSG_SYNC_ID_EMPTY = 10312, /* 0x2848 */
139  MSP_ERROR_MSG_APP_ID_EMPTY = 10313, /* 0x2849 */
140  MSP_ERROR_MSG_EXTERN_ID_EMPTY = 10314, /* 0x284A */
141  MSP_ERROR_MSG_INVALID_CMD = 10315, /* 0x284B */
142  MSP_ERROR_MSG_INVALID_SUBJECT = 10316, /* 0x284C */
143  MSP_ERROR_MSG_INVALID_VERSION = 10317, /* 0x284D */
144  MSP_ERROR_MSG_NO_CMD = 10318, /* 0x284E */
145  MSP_ERROR_MSG_NO_SUBJECT = 10319, /* 0x284F */
146  MSP_ERROR_MSG_NO_VERSION = 10320, /* 0x2850 */
147  MSP_ERROR_MSG_MSSP_EMPTY = 10321, /* 0x2851 */
148  MSP_ERROR_MSG_NEW_RESPONSE = 10322, /* 0x2852 */
149  MSP_ERROR_MSG_NEW_CONTENT = 10323, /* 0x2853 */
151  /* 0x2854 */ /* 无效的会话ID(sid) */
152  MSP_ERROR_MSG_INVALID_CONTENT = 10325, /* 0x2855 */
153 
154  /* Error codes of DataBase 10400(0x28A0)*/
156  /* 0x28A0 */ /* 数据库异常 */
157  MSP_ERROR_DB_EXCEPTION = 10401, /* 0x28A1 */
159  /* 0x28A2 */ /* redis中没有找到会话ID(sid) */
160  MSP_ERROR_DB_INVALID_USER = 10403, /* 0x28A3 */
161  MSP_ERROR_DB_INVALID_PWD = 10404, /* 0x28A4 */
162  MSP_ERROR_DB_CONNECT = 10405, /* 0x28A5 */
163  MSP_ERROR_DB_INVALID_SQL = 10406, /* 0x28A6 */
164  MSP_ERROR_DB_INVALID_APPID = 10407, /* 0x28A7 */
166 
167  /* Error codes of Resource 10500(0x2904)*/
168  MSP_ERROR_RES_GENERAL = 10500, /* 0x2904 */
170  /* 0x2905 */ /* Load resource */
172  /* 0x2906 */ /* Free resource */
174  /* 0x2907 */ /* Resource File Missing */
176  /* 0x2908 */ /* Invalid resource file name */
178  /* 0x2909 */ /* Invalid resource ID */
180  /* 0x290A */ /* Invalid resource image pointer */
182  /* 0x290B */ /* Write read-only resource */
184  /* 0x290C */ /* Resource leak out */
186  /* 0x290D */ /* Resource head currupt */
188  /* 0x290E */ /* Resource data currupt */
190  /* 0x290F */ /* Resource file skipped */
191 
192  /* Error codes of TTS 10600(0x2968)*/
193  MSP_ERROR_TTS_GENERAL = 10600, /* 0x2968 */
195  /* 0x2969 */ /* Meet text end */
197  /* 0x296A */ /* no synth text */
198  MSP_ERROR_TTS_LTTS_ERROR = 10603, /* 0x296B */
199 
200  /* Error codes of Recognizer 10700(0x29CC) */
202  /* 0x29CC */ /* 引擎异常 */
203  MSP_ERROR_REC_INACTIVE = 10701, /* 0x29CD */
204  MSP_ERROR_REC_GRAMMAR_ERROR = 10702, /* 0x29CE */
205  MSP_ERROR_REC_NO_ACTIVE_GRAMMARS = 10703, /* 0x29CF */
206  MSP_ERROR_REC_DUPLICATE_GRAMMAR = 10704, /* 0x29D0 */
207  MSP_ERROR_REC_INVALID_MEDIA_TYPE = 10705, /* 0x29D1 */
208  MSP_ERROR_REC_INVALID_LANGUAGE = 10706, /* 0x29D2 */
209  MSP_ERROR_REC_URI_NOT_FOUND = 10707, /* 0x29D3 */
210  MSP_ERROR_REC_URI_TIMEOUT = 10708, /* 0x29D4 */
211  MSP_ERROR_REC_URI_FETCH_ERROR = 10709, /* 0x29D5 */
212  MSP_ERROR_REC_PROC_MOD = 10710, /* 0x29D6 */
213 
214  /* Error codes of Speech Detector 10800(0x2A30) */
215  MSP_ERROR_EP_GENERAL = 10800, /* 0x2A30 */
216  MSP_ERROR_EP_NO_SESSION_NAME = 10801, /* 0x2A31 */
217  MSP_ERROR_EP_INACTIVE = 10802, /* 0x2A32 */
218  MSP_ERROR_EP_INITIALIZED = 10803, /* 0x2A33 */
219 
220  /* Error codes of TUV */
221  MSP_ERROR_TUV_GENERAL = 10900, /* 0x2A94 */
223  /* 0x2A95 */ /* Get Busin Param huanid*/
225  /* 0x2A96 */ /* Get Token */
227  /* 0x2A97 */ /* Open cfg file */
229  /* 0x2A98 */ /* received content is error */
231  /* 0x2A99 */ /* Verify failure */
232 
233  /* Error codes of IMTV */
235  /* 0x2AF8 */ /* 成功 */
237  /* 0x2AF9 */ /* 试用次数结束,用户需要付费 */
239  /* 0x2AFA */ /* SessionId失效,需要重新登录通行证 */
241  /* 0x2AFB */ /* SessionId为空,或者非法 */
243  /* 0x2AFC */ /* 未登录通行证 */
245  /* 0x2AFD */ /* 用户ID无效 */
247  /* 0x2AFE */ /* 用户密码无效 */
249  /* 0x2B5B */ /* 系统错误 */
250 
251  /* Error codes of HCR */
263 
264  /* Error Codes using in local engine */
266  /* 0x2BC0 */ /* 无授权 */
268  /* 0x2BC1 */ /* 授权不足 */
270  /* 0x2BC2 */ /* 无效的授权 */
272  /* 0x2BC3 */ /* 授权过期 */
274  /* 0x2BC4 */ /* 无设备信息 */
276  /* 0x2BC5 */ /* 授权即将过期,警告性错误码 */
278  /* 0x2BC6 */ /* 无效的机器码 */
280  /* 0x2BC7 */ /* 禁止使用本地识别引擎 */
282  /* 0x2BC8 */ /* 禁止使用本地合成引擎 */
284  /* 0x2BC9 */ /* 禁止使用本地唤醒引擎 */
286  /* 0x2BCA */ /* 资源appid和应用appid不匹配 */
288  /* 0x2BCB */ /* 资源uid和登录用户uid不匹配 */
290  /* 0x2BCC */ /* 试用资源过期 */
292  /* 0x2BC9 */ /* 禁止使用本地人脸引擎 */
293 
294  /*Error Codes of Authorization*/
302 
303  /* Error codes of Ise */
304 
313 
314  /* Error codes of Iot */
316  MSP_ERROR_IOT_PARAM_ERROR = 11501, // param error
317  MSP_ERROR_IOT_INVALID_SERVICE = 11502, // invalid service for iot ProTranServer
318  MSP_ERROR_IOT_INVALID_PRODUCTID = 11503, // invalid productid for ProTranServer
319  MSP_EEROR_IOT_INVALID_ATTR = 11504, // invalid attr value for one product in ProTranServer
320  MSP_ERROR_IOT_INVALID_PLATFORM = 11505, // invalid platform for ProTranServer
321  MSP_ERROR_IOT_DID_NOT_FOUND = 11506, // not found device id in semantic
322 
323  /* Error codes of IVP */
324  MSP_ERROR_IVP_GENERAL = 11600, // 内核异常
325  MSP_ERROR_IVP_EXTRA_RGN_SOPPORT = 11601, // 注册时向引擎所写音频条数超过上限(9次)
326  MSP_ERROR_IVP_TRUNCATED = 11602, // 音频截幅(因信号波形的幅度太大,而超出系统的线性范围),如记录尖叫声的音频
327  MSP_ERROR_IVP_MUCH_NOISE = 11603, // 音频信噪比过低 MSP_ERROR_IVP_TOO_LOW = 11604, // 音频能量过低 MSP_ERROR_IVP_ZERO_AUDIO = 11605, // 无音频 MSP_ERROR_IVP_UTTER_TOO_SHORT = 11606, // 音频太短 MSP_ERROR_IVP_TEXT_NOT_MATCH = 11607, // 1.音频和文本不匹配,常见原因1.抢读(在按下录音键之前读) // 2.录音机的启动电流被录入表现在音频上是在音频首有冲击电流 3.确实不匹配" MSP_ERROR_IVP_NO_ENOUGH_AUDIO = 11608, // 音频不够,注册自由说,而写入的音频又不够长时会报,告诉调用者继续传音频 MSP_ERROR_IVP_MODEL_NOT_FOUND_IN_HBASE = 11610, // 模型在hbase中没找到 /* Error codes of Face */ MSP_ERROR_IFR_NOT_FACE_IMAGE = 11700, // 【无人脸,对应的引擎错误码是20200 】 MSP_ERROR_FACE_IMAGE_FULL_LEFT = 11701, // 【人脸向左,对应的引擎错误码是20201】 MSP_ERROR_FACE_IMAGE_FULL_RIGHT = 11702, // 【人脸向右,对应的引擎错误码是20202】 MSP_ERROR_IMAGE_CLOCKWISE_WHIRL = 11703, // 【顺时针旋转,对应的引擎错误码是20203】 MSP_ERROR_IMAGE_COUNTET_CLOCKWISE_WHIRL = 11704, // 【逆时针旋转,对应的引擎错误码是20204】 MSP_ERROR_VALID_IMAGE_SIZE = 11705, // 【图片大小异常 ,对应的引擎错误码是20205】 MSP_ERROR_ILLUMINATION = 11706, // 【光照异常,对应的引擎错误码是20206】 MSP_ERROR_FACE_OCCULTATION = 11707, // 【人脸被遮挡,对应的引擎错误码是20207】 MSP_ERROR_FACE_INVALID_MODEL = 11708, // 【非法模型数据,对应的引擎错误码是20208】 MSP_ERROR_FUSION_INVALID_INPUT_TYPE = 11709, // 【输入数据类型非法,对应的引擎错误码是20300】 MSP_ERROR_FUSION_NO_ENOUGH_DATA = 11710, // 【输入的数据不完整,对应的引擎错误码是20301】 MSP_ERROR_FUSION_ENOUGH_DATA = 11711, // 【输入的数据过多,对应的引擎错误码是20302】 /*Error Codes of AIUI*/ MSP_ERROR_AIUI_CID_EXPIRED = 11800, /* Error codes of http 12000(0x2EE0) */ MSP_ERROR_HTTP_BASE = 12000, /* 0x2EE0 */ MSP_ERROR_HTTP_400 = 12400, MSP_ERROR_HTTP_401 = 12401, MSP_ERROR_HTTP_402 = 12402, MSP_ERROR_HTTP_403 = 12403, MSP_ERROR_HTTP_404 = 12404, MSP_ERROR_HTTP_405 = 12405, MSP_ERROR_HTTP_406 = 12406, MSP_ERROR_HTTP_407 = 12407, MSP_ERROR_HTTP_408 = 12408, MSP_ERROR_HTTP_409 = 12409, MSP_ERROR_HTTP_410 = 12410, MSP_ERROR_HTTP_411 = 12411, MSP_ERROR_HTTP_412 = 12412, MSP_ERROR_HTTP_413 = 12413, MSP_ERROR_HTTP_414 = 12414, MSP_ERROR_HTTP_415 = 12415, MSP_ERROR_HTTP_416 = 12416, MSP_ERROR_HTTP_417 = 12417, MSP_ERROR_HTTP_500 = 12500, MSP_ERROR_HTTP_501 = 12501, MSP_ERROR_HTTP_502 = 12502, MSP_ERROR_HTTP_503 = 12503, MSP_ERROR_HTTP_504 = 12504, MSP_ERROR_HTTP_505 = 12505, /*Error codes of ISV */ MSP_ERROR_ISV_NO_USER = 13000, /* 32C8 */ /* the user doesn't exist */ /* Error codes of Lua scripts */ MSP_ERROR_LUA_BASE = 14000, /* 0x36B0 */ MSP_ERROR_LUA_YIELD = 14001, /* 0x36B1 */ MSP_ERROR_LUA_ERRRUN = 14002, /* 0x36B2 */ MSP_ERROR_LUA_ERRSYNTAX = 14003, /* 0x36B3 */ MSP_ERROR_LUA_ERRMEM = 14004, /* 0x36B4 */ MSP_ERROR_LUA_ERRERR = 14005, /* 0x36B5 */ MSP_ERROR_LUA_INVALID_PARAM = 14006, /* 0x36B6 */ /* Error codes of MMP */ MSP_ERROR_MMP_BASE = 15000, /* 0x3A98 */ MSP_ERROR_MMP_MYSQL_INITFAIL = 15001, /* 0x3A99 */ MSP_ERROR_MMP_REDIS_INITFAIL = 15002, /* 0x3A9A */ MSP_ERROR_MMP_NETDSS_INITFAIL = 15003, /* 0x3A9B */ MSP_ERROR_MMP_TAIR_INITFAIL = 15004, /* 0x3A9C */ MSP_ERROR_MMP_MAIL_SESSION_FAIL = 15006, /* 0x3A9E */ /* 邮件登陆服务器时,会话错误。*/ MSP_ERROR_MMP_MAIL_LOGON_FAIL = 15007, /* 0x3A9F */ /* 邮件登陆服务器时,拒绝登陆。*/ MSP_ERROR_MMP_MAIL_USER_ILLEGAL = 15008, /* 0x3AA0 */ /* 邮件登陆服务器时,用户名非法。*/ MSP_ERROR_MMP_MAIL_PWD_ERR = 15009, /* 0x3AA1 */ /* 邮件登陆服务器时,密码错误。*/ MSP_ERROR_MMP_MAIL_SOCKET_ERR = 15010, /* 0x3AA2 */ /* 邮件发送过程中套接字错误*/ MSP_ERROR_MMP_MAIL_INIT_FAIL = 15011, /* 0x3AA3 */ /* 邮件初始化错误*/ MSP_ERROR_MMP_STORE_MNR_NO_INIT = 15012, /* 0x3AA4 */ /* store_manager未初始化,或初始化失败*/ MSP_ERROR_MMP_STORE_MNR_POOL_FULL = 15013, /* 0x3AA5 */ /* store_manager的连接池满了*/ MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL = 15014, /* 0x3AA6 */ /* 报警策略表达式非法*/ MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG = 15015, /* 0x3AA7 */ /* 报警策略表达式太长*/ MSP_ERROR_MMP_PARAM_NULL = 15016, /* 0x3AA8 */ /* 函数参数为空*/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */
328  MSP_ERROR_IVP_TOO_LOW = 11604, // 音频能量过低 MSP_ERROR_IVP_ZERO_AUDIO = 11605, // 无音频 MSP_ERROR_IVP_UTTER_TOO_SHORT = 11606, // 音频太短 MSP_ERROR_IVP_TEXT_NOT_MATCH = 11607, // 1.音频和文本不匹配,常见原因1.抢读(在按下录音键之前读) // 2.录音机的启动电流被录入表现在音频上是在音频首有冲击电流 3.确实不匹配" MSP_ERROR_IVP_NO_ENOUGH_AUDIO = 11608, // 音频不够,注册自由说,而写入的音频又不够长时会报,告诉调用者继续传音频 MSP_ERROR_IVP_MODEL_NOT_FOUND_IN_HBASE = 11610, // 模型在hbase中没找到 /* Error codes of Face */ MSP_ERROR_IFR_NOT_FACE_IMAGE = 11700, // 【无人脸,对应的引擎错误码是20200 】 MSP_ERROR_FACE_IMAGE_FULL_LEFT = 11701, // 【人脸向左,对应的引擎错误码是20201】 MSP_ERROR_FACE_IMAGE_FULL_RIGHT = 11702, // 【人脸向右,对应的引擎错误码是20202】 MSP_ERROR_IMAGE_CLOCKWISE_WHIRL = 11703, // 【顺时针旋转,对应的引擎错误码是20203】 MSP_ERROR_IMAGE_COUNTET_CLOCKWISE_WHIRL = 11704, // 【逆时针旋转,对应的引擎错误码是20204】 MSP_ERROR_VALID_IMAGE_SIZE = 11705, // 【图片大小异常 ,对应的引擎错误码是20205】 MSP_ERROR_ILLUMINATION = 11706, // 【光照异常,对应的引擎错误码是20206】 MSP_ERROR_FACE_OCCULTATION = 11707, // 【人脸被遮挡,对应的引擎错误码是20207】 MSP_ERROR_FACE_INVALID_MODEL = 11708, // 【非法模型数据,对应的引擎错误码是20208】 MSP_ERROR_FUSION_INVALID_INPUT_TYPE = 11709, // 【输入数据类型非法,对应的引擎错误码是20300】 MSP_ERROR_FUSION_NO_ENOUGH_DATA = 11710, // 【输入的数据不完整,对应的引擎错误码是20301】 MSP_ERROR_FUSION_ENOUGH_DATA = 11711, // 【输入的数据过多,对应的引擎错误码是20302】 /*Error Codes of AIUI*/ MSP_ERROR_AIUI_CID_EXPIRED = 11800, /* Error codes of http 12000(0x2EE0) */ MSP_ERROR_HTTP_BASE = 12000, /* 0x2EE0 */ MSP_ERROR_HTTP_400 = 12400, MSP_ERROR_HTTP_401 = 12401, MSP_ERROR_HTTP_402 = 12402, MSP_ERROR_HTTP_403 = 12403, MSP_ERROR_HTTP_404 = 12404, MSP_ERROR_HTTP_405 = 12405, MSP_ERROR_HTTP_406 = 12406, MSP_ERROR_HTTP_407 = 12407, MSP_ERROR_HTTP_408 = 12408, MSP_ERROR_HTTP_409 = 12409, MSP_ERROR_HTTP_410 = 12410, MSP_ERROR_HTTP_411 = 12411, MSP_ERROR_HTTP_412 = 12412, MSP_ERROR_HTTP_413 = 12413, MSP_ERROR_HTTP_414 = 12414, MSP_ERROR_HTTP_415 = 12415, MSP_ERROR_HTTP_416 = 12416, MSP_ERROR_HTTP_417 = 12417, MSP_ERROR_HTTP_500 = 12500, MSP_ERROR_HTTP_501 = 12501, MSP_ERROR_HTTP_502 = 12502, MSP_ERROR_HTTP_503 = 12503, MSP_ERROR_HTTP_504 = 12504, MSP_ERROR_HTTP_505 = 12505, /*Error codes of ISV */ MSP_ERROR_ISV_NO_USER = 13000, /* 32C8 */ /* the user doesn't exist */ /* Error codes of Lua scripts */ MSP_ERROR_LUA_BASE = 14000, /* 0x36B0 */ MSP_ERROR_LUA_YIELD = 14001, /* 0x36B1 */ MSP_ERROR_LUA_ERRRUN = 14002, /* 0x36B2 */ MSP_ERROR_LUA_ERRSYNTAX = 14003, /* 0x36B3 */ MSP_ERROR_LUA_ERRMEM = 14004, /* 0x36B4 */ MSP_ERROR_LUA_ERRERR = 14005, /* 0x36B5 */ MSP_ERROR_LUA_INVALID_PARAM = 14006, /* 0x36B6 */ /* Error codes of MMP */ MSP_ERROR_MMP_BASE = 15000, /* 0x3A98 */ MSP_ERROR_MMP_MYSQL_INITFAIL = 15001, /* 0x3A99 */ MSP_ERROR_MMP_REDIS_INITFAIL = 15002, /* 0x3A9A */ MSP_ERROR_MMP_NETDSS_INITFAIL = 15003, /* 0x3A9B */ MSP_ERROR_MMP_TAIR_INITFAIL = 15004, /* 0x3A9C */ MSP_ERROR_MMP_MAIL_SESSION_FAIL = 15006, /* 0x3A9E */ /* 邮件登陆服务器时,会话错误。*/ MSP_ERROR_MMP_MAIL_LOGON_FAIL = 15007, /* 0x3A9F */ /* 邮件登陆服务器时,拒绝登陆。*/ MSP_ERROR_MMP_MAIL_USER_ILLEGAL = 15008, /* 0x3AA0 */ /* 邮件登陆服务器时,用户名非法。*/ MSP_ERROR_MMP_MAIL_PWD_ERR = 15009, /* 0x3AA1 */ /* 邮件登陆服务器时,密码错误。*/ MSP_ERROR_MMP_MAIL_SOCKET_ERR = 15010, /* 0x3AA2 */ /* 邮件发送过程中套接字错误*/ MSP_ERROR_MMP_MAIL_INIT_FAIL = 15011, /* 0x3AA3 */ /* 邮件初始化错误*/ MSP_ERROR_MMP_STORE_MNR_NO_INIT = 15012, /* 0x3AA4 */ /* store_manager未初始化,或初始化失败*/ MSP_ERROR_MMP_STORE_MNR_POOL_FULL = 15013, /* 0x3AA5 */ /* store_manager的连接池满了*/ MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL = 15014, /* 0x3AA6 */ /* 报警策略表达式非法*/ MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG = 15015, /* 0x3AA7 */ /* 报警策略表达式太长*/ MSP_ERROR_MMP_PARAM_NULL = 15016, /* 0x3AA8 */ /* 函数参数为空*/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */
329  MSP_ERROR_IVP_ZERO_AUDIO = 11605, // 无音频
330  MSP_ERROR_IVP_UTTER_TOO_SHORT = 11606, // 音频太短 MSP_ERROR_IVP_TEXT_NOT_MATCH = 11607, // 1.音频和文本不匹配,常见原因1.抢读(在按下录音键之前读) // 2.录音机的启动电流被录入表现在音频上是在音频首有冲击电流 3.确实不匹配" MSP_ERROR_IVP_NO_ENOUGH_AUDIO = 11608, // 音频不够,注册自由说,而写入的音频又不够长时会报,告诉调用者继续传音频 MSP_ERROR_IVP_MODEL_NOT_FOUND_IN_HBASE = 11610, // 模型在hbase中没找到 /* Error codes of Face */ MSP_ERROR_IFR_NOT_FACE_IMAGE = 11700, // 【无人脸,对应的引擎错误码是20200 】 MSP_ERROR_FACE_IMAGE_FULL_LEFT = 11701, // 【人脸向左,对应的引擎错误码是20201】 MSP_ERROR_FACE_IMAGE_FULL_RIGHT = 11702, // 【人脸向右,对应的引擎错误码是20202】 MSP_ERROR_IMAGE_CLOCKWISE_WHIRL = 11703, // 【顺时针旋转,对应的引擎错误码是20203】 MSP_ERROR_IMAGE_COUNTET_CLOCKWISE_WHIRL = 11704, // 【逆时针旋转,对应的引擎错误码是20204】 MSP_ERROR_VALID_IMAGE_SIZE = 11705, // 【图片大小异常 ,对应的引擎错误码是20205】 MSP_ERROR_ILLUMINATION = 11706, // 【光照异常,对应的引擎错误码是20206】 MSP_ERROR_FACE_OCCULTATION = 11707, // 【人脸被遮挡,对应的引擎错误码是20207】 MSP_ERROR_FACE_INVALID_MODEL = 11708, // 【非法模型数据,对应的引擎错误码是20208】 MSP_ERROR_FUSION_INVALID_INPUT_TYPE = 11709, // 【输入数据类型非法,对应的引擎错误码是20300】 MSP_ERROR_FUSION_NO_ENOUGH_DATA = 11710, // 【输入的数据不完整,对应的引擎错误码是20301】 MSP_ERROR_FUSION_ENOUGH_DATA = 11711, // 【输入的数据过多,对应的引擎错误码是20302】 /*Error Codes of AIUI*/ MSP_ERROR_AIUI_CID_EXPIRED = 11800, /* Error codes of http 12000(0x2EE0) */ MSP_ERROR_HTTP_BASE = 12000, /* 0x2EE0 */ MSP_ERROR_HTTP_400 = 12400, MSP_ERROR_HTTP_401 = 12401, MSP_ERROR_HTTP_402 = 12402, MSP_ERROR_HTTP_403 = 12403, MSP_ERROR_HTTP_404 = 12404, MSP_ERROR_HTTP_405 = 12405, MSP_ERROR_HTTP_406 = 12406, MSP_ERROR_HTTP_407 = 12407, MSP_ERROR_HTTP_408 = 12408, MSP_ERROR_HTTP_409 = 12409, MSP_ERROR_HTTP_410 = 12410, MSP_ERROR_HTTP_411 = 12411, MSP_ERROR_HTTP_412 = 12412, MSP_ERROR_HTTP_413 = 12413, MSP_ERROR_HTTP_414 = 12414, MSP_ERROR_HTTP_415 = 12415, MSP_ERROR_HTTP_416 = 12416, MSP_ERROR_HTTP_417 = 12417, MSP_ERROR_HTTP_500 = 12500, MSP_ERROR_HTTP_501 = 12501, MSP_ERROR_HTTP_502 = 12502, MSP_ERROR_HTTP_503 = 12503, MSP_ERROR_HTTP_504 = 12504, MSP_ERROR_HTTP_505 = 12505, /*Error codes of ISV */ MSP_ERROR_ISV_NO_USER = 13000, /* 32C8 */ /* the user doesn't exist */ /* Error codes of Lua scripts */ MSP_ERROR_LUA_BASE = 14000, /* 0x36B0 */ MSP_ERROR_LUA_YIELD = 14001, /* 0x36B1 */ MSP_ERROR_LUA_ERRRUN = 14002, /* 0x36B2 */ MSP_ERROR_LUA_ERRSYNTAX = 14003, /* 0x36B3 */ MSP_ERROR_LUA_ERRMEM = 14004, /* 0x36B4 */ MSP_ERROR_LUA_ERRERR = 14005, /* 0x36B5 */ MSP_ERROR_LUA_INVALID_PARAM = 14006, /* 0x36B6 */ /* Error codes of MMP */ MSP_ERROR_MMP_BASE = 15000, /* 0x3A98 */ MSP_ERROR_MMP_MYSQL_INITFAIL = 15001, /* 0x3A99 */ MSP_ERROR_MMP_REDIS_INITFAIL = 15002, /* 0x3A9A */ MSP_ERROR_MMP_NETDSS_INITFAIL = 15003, /* 0x3A9B */ MSP_ERROR_MMP_TAIR_INITFAIL = 15004, /* 0x3A9C */ MSP_ERROR_MMP_MAIL_SESSION_FAIL = 15006, /* 0x3A9E */ /* 邮件登陆服务器时,会话错误。*/ MSP_ERROR_MMP_MAIL_LOGON_FAIL = 15007, /* 0x3A9F */ /* 邮件登陆服务器时,拒绝登陆。*/ MSP_ERROR_MMP_MAIL_USER_ILLEGAL = 15008, /* 0x3AA0 */ /* 邮件登陆服务器时,用户名非法。*/ MSP_ERROR_MMP_MAIL_PWD_ERR = 15009, /* 0x3AA1 */ /* 邮件登陆服务器时,密码错误。*/ MSP_ERROR_MMP_MAIL_SOCKET_ERR = 15010, /* 0x3AA2 */ /* 邮件发送过程中套接字错误*/ MSP_ERROR_MMP_MAIL_INIT_FAIL = 15011, /* 0x3AA3 */ /* 邮件初始化错误*/ MSP_ERROR_MMP_STORE_MNR_NO_INIT = 15012, /* 0x3AA4 */ /* store_manager未初始化,或初始化失败*/ MSP_ERROR_MMP_STORE_MNR_POOL_FULL = 15013, /* 0x3AA5 */ /* store_manager的连接池满了*/ MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL = 15014, /* 0x3AA6 */ /* 报警策略表达式非法*/ MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG = 15015, /* 0x3AA7 */ /* 报警策略表达式太长*/ MSP_ERROR_MMP_PARAM_NULL = 15016, /* 0x3AA8 */ /* 函数参数为空*/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */
331  MSP_ERROR_IVP_TEXT_NOT_MATCH = 11607, // 1.音频和文本不匹配,常见原因1.抢读(在按下录音键之前读)
332  // 2.录音机的启动电流被录入表现在音频上是在音频首有冲击电流 3.确实不匹配"
333  MSP_ERROR_IVP_NO_ENOUGH_AUDIO = 11608, // 音频不够,注册自由说,而写入的音频又不够长时会报,告诉调用者继续传音频
334  MSP_ERROR_IVP_MODEL_NOT_FOUND_IN_HBASE = 11610, // 模型在hbase中没找到
335 
336  /* Error codes of Face */
337 
338  MSP_ERROR_IFR_NOT_FACE_IMAGE = 11700, // 【无人脸,对应的引擎错误码是20200 】
339  MSP_ERROR_FACE_IMAGE_FULL_LEFT = 11701, // 【人脸向左,对应的引擎错误码是20201】
340  MSP_ERROR_FACE_IMAGE_FULL_RIGHT = 11702, // 【人脸向右,对应的引擎错误码是20202】
341  MSP_ERROR_IMAGE_CLOCKWISE_WHIRL = 11703, // 【顺时针旋转,对应的引擎错误码是20203】
342  MSP_ERROR_IMAGE_COUNTET_CLOCKWISE_WHIRL = 11704, // 【逆时针旋转,对应的引擎错误码是20204】
343  MSP_ERROR_VALID_IMAGE_SIZE = 11705, // 【图片大小异常 ,对应的引擎错误码是20205】
344  MSP_ERROR_ILLUMINATION = 11706, // 【光照异常,对应的引擎错误码是20206】
345  MSP_ERROR_FACE_OCCULTATION = 11707, // 【人脸被遮挡,对应的引擎错误码是20207】
346  MSP_ERROR_FACE_INVALID_MODEL = 11708, // 【非法模型数据,对应的引擎错误码是20208】
347  MSP_ERROR_FUSION_INVALID_INPUT_TYPE = 11709, // 【输入数据类型非法,对应的引擎错误码是20300】
348  MSP_ERROR_FUSION_NO_ENOUGH_DATA = 11710, // 【输入的数据不完整,对应的引擎错误码是20301】
349  MSP_ERROR_FUSION_ENOUGH_DATA = 11711, // 【输入的数据过多,对应的引擎错误码是20302】
350 
351  /*Error Codes of AIUI*/
353 
354  /* Error codes of http 12000(0x2EE0) */
355  MSP_ERROR_HTTP_BASE = 12000, /* 0x2EE0 */
380  /*Error codes of ISV */
382  /* 32C8 */ /* the user doesn't exist */
383 
384  /* Error codes of Lua scripts */
385  MSP_ERROR_LUA_BASE = 14000, /* 0x36B0 */
386  MSP_ERROR_LUA_YIELD = 14001, /* 0x36B1 */
387  MSP_ERROR_LUA_ERRRUN = 14002, /* 0x36B2 */
388  MSP_ERROR_LUA_ERRSYNTAX = 14003, /* 0x36B3 */
389  MSP_ERROR_LUA_ERRMEM = 14004, /* 0x36B4 */
390  MSP_ERROR_LUA_ERRERR = 14005, /* 0x36B5 */
391  MSP_ERROR_LUA_INVALID_PARAM = 14006, /* 0x36B6 */
392 
393  /* Error codes of MMP */
394  MSP_ERROR_MMP_BASE = 15000, /* 0x3A98 */
395  MSP_ERROR_MMP_MYSQL_INITFAIL = 15001, /* 0x3A99 */
396  MSP_ERROR_MMP_REDIS_INITFAIL = 15002, /* 0x3A9A */
397  MSP_ERROR_MMP_NETDSS_INITFAIL = 15003, /* 0x3A9B */
398  MSP_ERROR_MMP_TAIR_INITFAIL = 15004, /* 0x3A9C */
400  /* 0x3A9E */ /* 邮件登陆服务器时,会话错误。*/
402  /* 0x3A9F */ /* 邮件登陆服务器时,拒绝登陆。*/
404  /* 0x3AA0 */ /* 邮件登陆服务器时,用户名非法。*/
406  /* 0x3AA1 */ /* 邮件登陆服务器时,密码错误。*/
408  /* 0x3AA2 */ /* 邮件发送过程中套接字错误/ MSP_ERROR_MMP_MAIL_INIT_FAIL = 15011, /* 0x3AA3 */ /* 邮件初始化错误*/ MSP_ERROR_MMP_STORE_MNR_NO_INIT = 15012, /* 0x3AA4 */ /* store_manager未初始化,或初始化失败*/ MSP_ERROR_MMP_STORE_MNR_POOL_FULL = 15013, /* 0x3AA5 */ /* store_manager的连接池满了*/ MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL = 15014, /* 0x3AA6 */ /* 报警策略表达式非法*/ MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG = 15015, /* 0x3AA7 */ /* 报警策略表达式太长*/ MSP_ERROR_MMP_PARAM_NULL = 15016, /* 0x3AA8 */ /* 函数参数为空*/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
410  /* 0x3AA3 */ /* 邮件初始化错误/ MSP_ERROR_MMP_STORE_MNR_NO_INIT = 15012, /* 0x3AA4 */ /* store_manager未初始化,或初始化失败*/ MSP_ERROR_MMP_STORE_MNR_POOL_FULL = 15013, /* 0x3AA5 */ /* store_manager的连接池满了*/ MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL = 15014, /* 0x3AA6 */ /* 报警策略表达式非法*/ MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG = 15015, /* 0x3AA7 */ /* 报警策略表达式太长*/ MSP_ERROR_MMP_PARAM_NULL = 15016, /* 0x3AA8 */ /* 函数参数为空*/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
412  /* 0x3AA4 */ /* store_manager未初始化,或初始化失败/ MSP_ERROR_MMP_STORE_MNR_POOL_FULL = 15013, /* 0x3AA5 */ /* store_manager的连接池满了*/ MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL = 15014, /* 0x3AA6 */ /* 报警策略表达式非法*/ MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG = 15015, /* 0x3AA7 */ /* 报警策略表达式太长*/ MSP_ERROR_MMP_PARAM_NULL = 15016, /* 0x3AA8 */ /* 函数参数为空*/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
414  /* 0x3AA5 */ /* store_manager的连接池满了/ MSP_ERROR_MMP_STRATGY_PARAM_ILLEGAL = 15014, /* 0x3AA6 */ /* 报警策略表达式非法*/ MSP_ERROR_MMP_STRATGY_PARAM_TOOLOOG = 15015, /* 0x3AA7 */ /* 报警策略表达式太长*/ MSP_ERROR_MMP_PARAM_NULL = 15016, /* 0x3AA8 */ /* 函数参数为空*/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
416  /* 0x3AA6 */ /* 报警策略表达式非法*/
418  /* 0x3AA7 */ /* 报警策略表达式太长*/
420  /* 0x3AA8 */ /* 函数参数为空/ MSP_ERROR_MMP_ERR_MORE_TOTAL = 15017, /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/ MSP_ERROR_MMP_PROC_THRESHOLD = 15018, /* 0x3AAA */ /* 进程监控阀值设置错误*/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
422  /* 0x3AA9 */ /* pms插入数据库中错误汇总表的数据,错误次数 > 总次数。*/
424  /* 0x3AAA */ /* 进程监控阀值设置错误/ MSP_ERROR_MMP_SERVER_THRESHOLD = 15019, /* 0x3AAB */ /* 服务器监控阀值设置错误*/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
426  /* 0x3AAB */ /* 服务器监控阀值设置错误/ MSP_ERROR_MMP_PYTHON_NO_EXIST = 15020, /* 0x3AAC */ /* python脚本文件不存在 */ MSP_ERROR_MMP_PYTHON_IMPORT_FAILED = 15021, /* 0x3AAD */ /* python脚本导入出错 */ MSP_ERROR_MMP_PYTHON_BAD_FUNC = 15022, /* 0x3AAE */ /* python脚本函数格式错误 */ MSP_ERROR_MMP_DB_DATA_ILLEGAL = 15023, /* 0x3AAF */ /* 插入数据库中的数据格式有误 */ MSP_ERROR_MMP_REDIS_NOT_CONN = 15024, /* 0x3AB0 */ /* redis没有连接到服务端 */ MSP_ERROR_MMP_PMA_NOT_FOUND_STRATEGY = 15025, /* 0x3AB1 */ /* 没有找到报警策略 */ MSP_ERROR_MMP_TAIR_CONNECT = 15026, /* 0x3AB2 */ /* 连接tair集群失败 */ MSP_ERROR_MMP_PMC_SERVINFO_INVALID = 15027, /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */ MSP_ERROR_MMP_ALARM_GROUP_NULL = 15028, /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */ MSP_ERROR_MMP_ALARM_CONTXT_NULL = 15029, /* Ox3AB5 */ /* 服务器报警的报警内容为空 */ /* Error codes of MSC(lmod loader) */ MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */ MSP_ERROR_LMOD_NOT_FOUND = 16001, /* 0x3E81 */ /* 没找到lmod文件 */ MSP_ERROR_LMOD_UNEXPECTED_BIN = 16002, /* 0x3E82 */ /* 无效的lmod */ MSP_ERROR_LMOD_LOADCODE = 16003, /* 0x3E83 */ /* 加载lmod指令失败 */ MSP_ERROR_LMOD_PRECALL = 16004, /* 0x3E84 */ /* 初始化lmod失败 */ MSP_ERROR_LMOD_RUNTIME_EXCEPTION = 16005, /* 0x3E85 */ /* lmod运行时异常 */ MSP_ERROR_LMOD_ALREADY_LOADED = 16006, /* 0x3E86 */ /* lmod重复加载 */ // Error code of Third Business MSP_ERROR_BIZ_BASE = 17000, /* 0x4268 */ /* 三方业务错误码 */ // Error of Nginx errlog file increase exception MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/ // Error of Flash client when network checking MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败*/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
428  /* 0x3AAC */ /* python脚本文件不存在 */
430  /* 0x3AAD */ /* python脚本导入出错 */
432  /* 0x3AAE */ /* python脚本函数格式错误 */
434  /* 0x3AAF */ /* 插入数据库中的数据格式有误 */
436  /* 0x3AB0 */ /* redis没有连接到服务端 */
438  /* 0x3AB1 */ /* 没有找到报警策略 */
440  /* 0x3AB2 */ /* 连接tair集群失败 */
442  /* Ox3AB3 */ /* 此pmc的服务器信息已经无效 */
444  /* Ox3AB4 */ /* 服务器报警的短信报警组与邮件报警组均为空 */
446  /* Ox3AB5 */ /* 服务器报警的报警内容为空 */
447 
448  /* Error codes of MSC(lmod loader) */
449  MSP_ERROR_LMOD_BASE = 16000, /* 0x3E80 */
451  /* 0x3E81 */ /* 没找到lmod文件 */
453  /* 0x3E82 */ /* 无效的lmod */
455  /* 0x3E83 */ /* 加载lmod指令失败 */
457  /* 0x3E84 */ /* 初始化lmod失败 */
459  /* 0x3E85 */ /* lmod运行时异常 */
461  /* 0x3E86 */ /* lmod重复加载 */
462 
463  // Error code of Third Business
465  /* 0x4268 */ /* 三方业务错误码 */
466 
467  // Error of Nginx errlog file increase exception
468  MSP_ERROR_NGX_LOG_MORE_TOTEL_SIZE = 18000, /*nginx错误日志大小异常*/
469 
470  // Error of Flash client when network checking
471  MSP_ERROR_FLASH_NETWORK_CONNECT_FIALED = 19000, /*flash服务端网络连接失败/ MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/ MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/ MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭*/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
472  MSP_ERROR_FLASH_NETWORK_CHECK_FIALED = 19001, /*flash服务端响应了异常消息*/
473  MSP_ERROR_FLASH_NETWORK_CHECK_TIMEOUT = 19002, /*flash服务端网络超时*/
474  MSP_ERROR_FLASH_NETWORK_CLOSED_EXCEPTION = 19003, /*flash服务端网络异常关闭/ /*Error Code Of Speech plus*/ SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接*/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
475 
476  /*Error Code Of Speech plus*/
477 
478  SPEECH_ERROR_NO_NETWORK = 20001, /* 无有效的网络连接/ SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/ SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/ SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果*/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
479  SPEECH_ERROR_NETWORK_TIMEOUT = 20002, /* 网络连接超时*/
480  SPEECH_ERROR_NET_EXPECTION = 20003, /* 网络异常*/
481  SPEECH_ERROR_INVALID_RESULT = 20004, /* 无有效的结果/ SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */ SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */ SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/ SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/ SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */ SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */ SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */ SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数*/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
482  SPEECH_ERROR_NO_MATCH = 20005, /* 无匹配结果 */
483  SPEECH_ERROR_AUDIO_RECORD = 20006, /* 录音失败 */
484  SPEECH_ERROR_NO_SPPECH = 20007, /* 未检测到语音*/
485 
486  SPEECH_ERROR_SPEECH_TIMEOUT = 20008, /* 音频输入超时*/
487  SPEECH_ERROR_EMPTY_UTTERANCE = 20009, /* 无效的文本输入 */
488  SPEECH_ERROR_FILE_ACCESS = 20010, /* 文件读写失败 */
489  SPEECH_ERROR_PLAY_MEDIA = 20011, /* 音频播放失败 */
490 
491  SPEECH_ERROR_INVALID_PARAM = 20012, /* 无效的参数/ SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */ SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */ SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/ SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */ SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */ SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */ SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */ SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */ SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */ SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */ SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */ SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */ SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */ SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */ SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */ SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */ SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */ SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */ SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */ /*Error Code Of Local iflytek Engines*/ /*Error Code Of AiTalk*/ /*Error Code Of AiTalk Operation*/ SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/ SPEECH_ERROR_ASR_CLIENT = 23000, /*客户端应用程序错误*/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
492  SPEECH_ERROR_TEXT_OVERFLOW = 20013, /* 文本溢出 */
493  SPEECH_ERROR_INVALID_DATA = 20014, /* 无效数据 */
494  SPEECH_ERROR_LOGIN = 20015, /* 用户未登陆*/
495  SPEECH_ERROR_PERMISSION_DENIED = 20016, /* 无效授权 */
496  SPEECH_ERROR_INTERRUPT = 20017, /* 被异常打断 */
497 
498  SPEECH_ERROR_VERSION_LOWER = 20018, /* 版本过低 */
499  SPEECH_CLIENT_ERROR_ISUSING = 20019, /* 录音机被占用(iOS平台) */
500  SPEECH_ERROR_SYSTEM_PREINSTALL = 20020, /* 系统预置版本 */
501  SPEECH_ERROR_UNSATISFIED_LINK = 20021, /* 未实现的Native函数引用 */
502  SPEECH_ERROR_UNKNOWN = 20999, /* 未知错误 */
503 
504  SPEECH_ERROR_COMPONENT_NOT_INSTALLED = 21001, /* 没有安装语音组件 */
505  SPEECH_ERROR_ENGINE_NOT_SUPPORTED = 21002, /* 引擎不支持 */
506  SPEECH_ERROR_ENGINE_INIT_FAIL = 21003, /* 初始化失败 */
507  SPEECH_ERROR_ENGINE_CALL_FAIL = 21004, /* 调用失败 */
508  SPEECH_ERROR_ENGINE_BUSY = 21005, /* 引擎繁忙 */
509 
510  SPEECH_ERROR_LOCAL_NO_INIT = 22001, /* 本地引擎未初始化 */
511  SPEECH_ERROR_LOCAL_RESOURCE = 22002, /* 本地引擎无资源 */
512  SPEECH_ERROR_LOCAL_ENGINE = 22003, /* 本地引擎内部错误 */
513  SPEECH_ERROR_IVW_INTERRUPT = 22004, /* 本地唤醒引擎被异常打断 */
514 
515  /*Error Code Of Local iflytek Engines*/
516 
517  /*Error Code Of AiTalk*/
518 
519  /*Error Code Of AiTalk Operation*/
520  SPEECH_SUCCESS = 0, // ivErr_OK = 0 /*成功状态*/
521 
523  /*客户端应用程序错误/ //????????? SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数*/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/ //?????????
524  SPEECH_ERROR_ASR_INVALID_PARA = 23001, /*无效的参数/ SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/ SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/ SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败*/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
525  SPEECH_ERROR_ASR_INVALID_PARA_VALUE = 23002, /*无效的参数值*/
526  SPEECH_ERROR_ASR_OUT_OF_MEMORY = 23003, /*内存耗尽*/
527  SPEECH_ERROR_ASR_CREATE_HANDLE_FAILED = 23004, /*创建句柄失败/ SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败*/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
528  SPEECH_ERROR_ASR_ENGINE_INIT_FAILED = 23005, /*引擎初始化失败/ SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/ SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/ SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/ SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果*/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
529  SPEECH_ERROR_ASR_ENGINE_STARTED = 23006, /*引擎已经启动*/
530  SPEECH_ERROR_ASR_ENGINE_UNINIT = 23007, /*引擎未初始化*/
531  SPEECH_ERROR_ASR_SPEECH_TIMEOUT = 23008, /*识别超时(VAD没开启或没有检测到后端点)*/
532  SPEECH_ERROR_ASR_NO_RECOGNIZED_RESULT = 23009, /*无识别结果/ SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄*/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
533  SPEECH_ERROR_ASR_INVALID_HANDLE = 23010, /*无效的句柄/ SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败*/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
534  SPEECH_ERROR_ASR_FILE_ACCESS = 23011, /*打开文件失败/ /*Error Code Of AiTalk Engine*/ SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1 /* For license check */ SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2 /* General */ SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3 SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/ SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5 SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/ SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7 SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/ SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/ SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/ /* For object status */ SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/ /* For ASR Input */ SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12 /* For Message Call Back */ SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13 SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14 SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15 SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16 /* For Lexicon name */ SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/ SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18 SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19 SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/ SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/ SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/ SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/ SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/ SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/ SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26 SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27 SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/ SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29 SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30 SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31 SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32 SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33 SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/ SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35 SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36 SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
535 
536  /*Error Code Of AiTalk Engine*/
537  SPEECH_ERROR_AITALK_FALSE = 23100, // ivErr_FALSE = 1
538 
539  /* For license check */
540  SPEECH_ERROR_AITALK_PERMISSION_DENIED = 23101, // ivErr_InvSN = 2
541 
542  /* General */
543  SPEECH_ERROR_AITALK_INVALID_PARA = 23102, // ivErr_InvArg = 3
544  SPEECH_ERROR_AITALK_BUFFER_OVERFLOW = 23103, // ivErr_BufferFull = 4 /*音频数据缓冲区已满*/
545  SPEECH_ERROR_AITALK_FAILED = 23104, // ivErr_Failed = 5
546  SPEECH_ERROR_AITALK_NOT_SUPPORTED = 23105, // ivErr_NotSupport = 6 /*引擎不支持*/
547  SPEECH_ERROR_AITALK_OUT_OF_MEMORY = 23106, // ivErr_OutOfMemory = 7
548  SPEECH_ERROR_AITALK_INVALID_RESOURCE = 23107, // ivErr_InvResource = 8 /*资源无效*/
549  SPEECH_ERROR_AITALK_NOT_FOUND = 23108, // ivErr_NotFound = 9 /*打开文件失败*/
550  SPEECH_ERROR_AITALK_INVALID_GRAMMAR = 23109, // ivErr_InvGrmr = 10 /*识别语法错误*/
551 
552  /* For object status */
553  SPEECH_ERROR_AITALK_INVALID_CALL = 23110, // ivErr_InvCall = 11 /*无效调用*/
554 
555  /* For ASR Input */
556  SPEECH_ERROR_AITALK_SYNTAX_ERROR = 23111, // ivErr_InvCall = 12
557 
558  /* For Message Call Back */
559  SPEECH_ERROR_AITALK_RESET = 23112, // ivErr_Reset = 13
560  SPEECH_ERROR_AITALK_ENDED = 23113, // ivErr_Ended = 14
561  SPEECH_ERROR_AITALK_IDLE = 23114, // ivErr_Idle = 15
562  SPEECH_ERROR_AITALK_CANNOT_SAVE_FILE = 23115, // ivErr_CanNotSaveFile = 16
563 
564  /* For Lexicon name */
565  SPEECH_ERROR_AITALK_INVALID_GRAMMAR_NAME = 23116, // ivErr_InvName = 17 /*文法或词典名称非法*/
566 
567  SPEECH_ERROR_AITALK_BUFFER_EMPTY = 23117, // ivErr_BufferEmpty = 18
568 
569  SPEECH_ERROR_AITALK_GET_RESULT = 23118, // ivErr_GetResult = 19
570 
571  SPEECH_ERROR_AITALK_REACT_OUT_TIME = 23119, // ivErr_ReactOutTime = 20 /*反应超时*/
572  SPEECH_ERROR_AITALK_SPEECH_OUT_TIME = 23120, // ivErr_SpeechOutTime = 21 /*语音超时*/
573 
574  SPEECH_ERROR_AITALK_AUDIO_CUT = 23121, // ivErr_CUT = 22 /*录音质量过高*/
575  SPEECH_ERROR_AITALK_AUDIO_LOWER = 23122, // ivErr_LOWER = 23 /*录音质量过低*/
576 
577  SPEECH_ERROR_AITALK_INSUFFICIENT_PERMISSIONS = 23123, // ivErr_Limitted = 24 /*授权不够*/
578  SPEECH_ERROR_AITALK_RESULT_ERROR = 23124, // ivErr_ResultError = 25 /*解码器Wfst输出后,依然有cmd输出*/
579  SPEECH_ERROR_AITALK_SHORT_PAUSE = 23125, // ivErr_ShortPause = 26
580  SPEECH_ERROR_AITALK_BUSY = 23126, // ivErr_Busy = 27
581  SPEECH_ERROR_AITALK_GRM_NOT_UPDATE = 23127, // ivErr_GrmNotUpdate = 28 /*语法未更新*/
582  SPEECH_ERROR_AITALK_STARTED = 23128, // ivErr_Started = 29
583  SPEECH_ERROR_AITALK_STOPPED = 23129, // ivErr_Stopped = 30
584  SPEECH_ERROR_AITALK_ALREADY_STARTED = 23130, // ivErr_AlreadyStarted = 31
585  SPEECH_ERROR_AITALK_ALREADY_STOPPED = 23131, // ivErr_AlreadyStopped = 32
586  SPEECH_ERROR_AITALK_TOO_MANY_COMMAND = 23132, // ivErr_TooManyCmd = 33
587  SPEECH_ERROR_AITALK_WAIT = 23133, // ivErr_Wait = 34 /*程序可能在做一些操作,主线程需要等待*/
588  SPEECH_ERROR_AITALK_MAE_RIGHT = 23134, // ivErr_MAERight = 35
589  SPEECH_ERROR_AITALK_MAE_WRONG = 23135, // ivErr_MAEWrong = 36
590 
591  SPEECH_ERROR_AITALK_GRM_ERR = 23300, // 语法错误 /*Error Code Of AiSound*/ /*Error Code Of AiSound Operation*/ SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */ SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/ SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/ SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄*/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */
592 
593  /*Error Code Of AiSound*/
594 
595  /*Error Code Of AiSound Operation*/
596  SPEECH_ERROR_TTS_INVALID_PARA = 24000, /* 错误参数 */
597  SPEECH_ERROR_TTS_INVALID_PARA_VALUE = 24001, /* 无效的参数值*/
598  SPEECH_ERROR_TTS_OUT_OF_MEMORY = 24002, /* 内存不足*/
599  SPEECH_ERROR_TTS_INVALID_HANDLE = 24003, /* 无效的句柄/ SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败*/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
600  SPEECH_ERROR_TTS_CREATE_HANDLE_FAILED = 24004, /* 创建句柄失败/ SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */ SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/ SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */ SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */ SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */ /*Error Code Of AiSound Engine*/ SPEECH_ERROR_AISOUND_BASE = 24100, SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */ SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */ SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */ SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */ SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */ SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */ SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */ SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */ SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */ SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */ SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */ SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */ SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */ SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/ SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */ /*Error Code Of ivw*/ /*Error Code Of ivw Operation*/ SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */ SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */ SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */ SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */ /*Error Code Of ivw Engine*/ SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1 SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2 SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3 SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4 SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5 SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6 SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7 SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8 SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9 SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10 SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11 SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12 SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13 SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14 SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15 SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16 SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17 SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18 SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19 SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20 SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21 /* 非实时转写错误码:26000~26999 */ SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */ }; #endif /* __MSP_ERRORS_H__ */*/
601  SPEECH_ERROR_TTS_INVALID_RESOURCE = 24005, /* 无效资源 */
602  SPEECH_ERROR_TTS_INVALID_VOICE_NAME = 24006, /* 无效发言人*/
603  SPEECH_ERROR_TTS_ENGINE_UNINIT = 24007, /* 引擎未初始化 */
604  SPEECH_ERROR_TTS_ENGINE_INIT_FAILED = 24008, /* 引擎初始化失败 */
605  SPEECH_ERROR_TTS_ENGINE_BUSY = 24009, /* 引擎忙 */
606 
607  /*Error Code Of AiSound Engine*/
609  SPEECH_ERROR_AISOUND_UNIMPEMENTED = 24100, /* unimplemented function */
610  SPEECH_ERROR_AISOUND_UNSUPPORTED = 24101, /* unsupported on this platform */
611  SPEECH_ERROR_AISOUND_INVALID_HANDLE = 24102, /* invalid handle */
612  SPEECH_ERROR_AISOUND_INVALID_PARA = 24103, /* invalid parameter(s) */
613  SPEECH_ERROR_AISOUND_INSUFFICIENT_HEAP = 24104, /* insufficient heap size */
614  SPEECH_ERROR_AISOUND_STATE_REFUSE = 24105, /* refuse to do in current state */
615  SPEECH_ERROR_AISOUND_INVALID_PARA_ID = 24106, /* invalid parameter ID */
616  SPEECH_ERROR_AISOUND_INVALID_PARA_VALUE = 24107, /* invalid parameter value */
617  SPEECH_ERROR_AISOUND_RESOURCE = 24108, /* Resource is error */
618  SPEECH_ERROR_AISOUND_RESOURCE_READ = 24109, /* read resource error */
619  SPEECH_ERROR_AISOUND_LBENDIAN = 24110, /* the Endian of SDK is error */
620  SPEECH_ERROR_AISOUND_HEADFILE = 24111, /* the HeadFile is different of the SDK */
621  SPEECH_ERROR_AISOUND_BUFFER_OVERFLOW = 24112, /* get data size exceed the data buffer */
622  SPEECH_ERROR_AISOUND_INVALID_ISAMPA = 24113, /* !Invalid iSampa format or input iSampa text contain invalid alphabet*/
623  SPEECH_ERROR_AISOUND_INVALID_CSSML = 24114, /* !Invalid cssml format */
624 
625  /*Error Code Of ivw*/
626 
627  /*Error Code Of ivw Operation*/
628  SPEECH_ERROR_IVW_ENGINE_UNINI = 25000, /* 引擎未初始化 */
629  SPEECH_ERROR_IVW_RESVER_NOMATCH = 25001, /* 资源版本不匹配 */
630  SPEECH_ERROR_IVW_BUFFERED_AUDIOD_LITTLE = 25002, /* 唤醒加识别缓存音频过少 */
631  SPEECH_ERROR_IVW_INVALID_RESTYPE = 25003, /* 不合法的资源类型 */
632 
633  /*Error Code Of ivw Engine*/
634  SPEECH_ERROR_IVW_INVALID_CALL = 25101, // IvwErr_InvCal = 1
635  SPEECH_ERROR_IVW_INVALID_ARG = 25102, // IvwErr_InvArg = 2
636  SPEECH_ERROR_IVW_TELL_SIZE = 25103, // IvwErr_TellSize = 3
637  SPEECH_ERROR_IVW_OUT_OF_MEMORY = 25104, // IvwErr_OutOfMemory = 4
638  SPEECH_ERROR_IVW_OUT_BUFFER_FULL = 25105, // IvwErr_BufferFull = 5
639  SPEECH_ERROR_IVW_OUT_BUFFER_EMPTY = 25106, // IvwErr_BufferEmpty = 6
640  SPEECH_ERROR_IVW_INVALID_RESOURCE = 25107, // IvwErr_InvRes = 7
641  SPEECH_ERROR_IVW_REPETITIOPN_ENTER = 25108, // IvwErr_ReEnter = 8
642  SPEECH_ERROR_IVW_NOT_SUPPORT = 25109, // IvwErr_NotSupport = 9
643  SPEECH_ERROR_IVW_NOT_FOUND = 25110, // IvwErr_NotFound = 10
644  SPEECH_ERROR_IVW_INVALID_SN = 25111, // IvwErr_InvSN = 11
645  SPEECH_ERROR_IVW_LIMITTED = 25112, // IvwErr_Limitted = 12
646  SPEECH_ERROR_IVW_TIME_OUT = 25113, // IvwErr_TimeOut = 13
647 
648  SPEECH_ERROR_IVW_ENROLL1_SUCESS = 25114, // IvwErr_Enroll1_Success = 14
649  SPEECH_ERROR_IVW_ENROLL1_FAILED = 25115, // IvwErr_Enroll1_Failed = 15
650  SPEECH_ERROR_IVW_ENROLL2_SUCESS = 25116, // IvwErr_Enroll2_Success = 16
651  SPEECH_ERROR_IVW_ENROLL2_FAILED = 25117, // IvwErr_Enroll2_Failed = 17
652  SPEECH_ERROR_IVW_ENROLL3_SUCESS = 25118, // IvwErr_Enroll3_Success = 18
653  SPEECH_ERROR_IVW_ENROLL3_FAILED = 25119, // IvwErr_Enroll3_Failed = 19
654  SPEECH_ERROR_IVW_SPEECH_TOO_SHORT = 25120, // IvwErr_SpeechTooShort = 20
655  SPEECH_ERROR_IVW_SPEECH_STOP = 25121, // IvwErr_SpeechStop = 21
656 
657  /* 非实时转写错误码:26000~26999 */
658  SPEECH_ERROR_LFASR_BASE = 26000, /* 非实时转写错误码基码 */
659 };
660 
661 #endif /* __MSP_ERRORS_H__ */


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:53