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
00081 typedef VISA_Handle SPHENC1_Handle;
00082
00083
00084
00086 typedef ISPHENC1_Params SPHENC1_Params;
00087
00089 typedef ISPHENC1_InArgs SPHENC1_InArgs;
00090
00092 typedef ISPHENC1_OutArgs SPHENC1_OutArgs;
00093
00095 typedef ISPHENC1_Cmd SPHENC1_Cmd;
00096
00098 typedef ISPHENC1_DynamicParams SPHENC1_DynamicParams;
00099
00101 typedef ISPHENC1_Status SPHENC1_Status;
00102
00109 extern SKEL_Fxns SPHENC1_SKEL;
00110
00114 extern ISPHENC1_Fxns SPHENC1_STUBS;
00115
00119
00120
00121
00149 extern Int32 SPHENC1_control(SPHENC1_Handle handle, SPHENC1_Cmd id,
00150 SPHENC1_DynamicParams *params, SPHENC1_Status *status);
00151
00152
00153
00154
00155
00184 extern SPHENC1_Handle SPHENC1_create(Engine_Handle e, String name,
00185 SPHENC1_Params *params);
00186
00187
00188
00189
00190
00208 extern Void SPHENC1_delete(SPHENC1_Handle handle);
00209
00210
00211
00212
00213
00258 extern Int32 SPHENC1_process(SPHENC1_Handle handle,
00259 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00260 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs);
00261
00262
00263
00264
00265
00302 extern XDAS_Int32 SPHENC1_processAsync(SPHENC1_Handle handle,
00303 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00304 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs);
00305
00306
00307
00308
00309
00352 extern XDAS_Int32 SPHENC1_processWait(SPHENC1_Handle handle,
00353 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00354 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs, UInt timeout);
00355
00356
00359 #ifdef __cplusplus
00360 }
00361 #endif
00362
00363 #endif
00364
00365
00366
00367
00368