Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00051 #ifndef ti_sdo_ce_speech1_SPHENC1_
00052 #define ti_sdo_ce_speech1_SPHENC1_
00053
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057
00058 #include <ti/xdais/dm/xdm.h>
00059 #include <ti/xdais/dm/isphenc1.h>
00060
00061 #include <ti/sdo/ce/Engine.h>
00062 #include <ti/sdo/ce/visa.h>
00063 #include <ti/sdo/ce/skel.h>
00064
00067
00068 #define SPHENC1_EOK ISPHENC1_EOK
00069 #define SPHENC1_EFAIL ISPHENC1_EFAIL
00072 #define SPHENC1_EUNSUPPORTED ISPHENC1_EUNSUPPORTED
00073
00074 #define SPHENC1_ETIMEOUT VISA_ETIMEOUT
00075 #define SPHENC1_FOREVER VISA_FOREVER
00080 #define SPHENC1_VISATYPE "ti.sdo.ce.speech1.ISPHENC1"
00081
00082
00086 typedef VISA_Handle SPHENC1_Handle;
00087
00088
00089
00091 typedef ISPHENC1_Params SPHENC1_Params;
00092
00094 typedef ISPHENC1_InArgs SPHENC1_InArgs;
00095
00097 typedef ISPHENC1_OutArgs SPHENC1_OutArgs;
00098
00100 typedef ISPHENC1_Cmd SPHENC1_Cmd;
00101
00103 typedef ISPHENC1_DynamicParams SPHENC1_DynamicParams;
00104
00106 typedef ISPHENC1_Status SPHENC1_Status;
00107
00114 extern SKEL_Fxns SPHENC1_SKEL;
00115
00119 extern ISPHENC1_Fxns SPHENC1_STUBS;
00120
00124
00125
00126
00154 extern Int32 SPHENC1_control(SPHENC1_Handle handle, SPHENC1_Cmd id,
00155 SPHENC1_DynamicParams *params, SPHENC1_Status *status);
00156
00157
00158
00159
00160
00189 extern SPHENC1_Handle SPHENC1_create(Engine_Handle e, String name,
00190 SPHENC1_Params *params);
00191
00192
00193
00194
00195
00213 extern Void SPHENC1_delete(SPHENC1_Handle handle);
00214
00215
00216
00217
00218
00263 extern Int32 SPHENC1_process(SPHENC1_Handle handle,
00264 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00265 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs);
00266
00267
00268
00269
00270
00307 extern XDAS_Int32 SPHENC1_processAsync(SPHENC1_Handle handle,
00308 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00309 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs);
00310
00311
00312
00313
00314
00357 extern XDAS_Int32 SPHENC1_processWait(SPHENC1_Handle handle,
00358 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00359 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs, UInt timeout);
00360
00361
00364 #ifdef __cplusplus
00365 }
00366 #endif
00367
00368 #endif
00369
00370
00371
00372
00373