sphenc1.h
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
00036
00052 #ifndef ti_sdo_ce_speech1_SPHENC1_
00053 #define ti_sdo_ce_speech1_SPHENC1_
00054
00055 #ifdef __cplusplus
00056 extern "C" {
00057 #endif
00058
00059 #include <ti/xdais/dm/xdm.h>
00060 #include <ti/xdais/dm/isphenc1.h>
00061
00062 #include <ti/sdo/ce/Engine.h>
00063 #include <ti/sdo/ce/visa.h>
00064 #include <ti/sdo/ce/skel.h>
00065
00068
00069 #define SPHENC1_EOK ISPHENC1_EOK
00070 #define SPHENC1_EFAIL ISPHENC1_EFAIL
00073 #define SPHENC1_EUNSUPPORTED ISPHENC1_EUNSUPPORTED
00074
00075 #define SPHENC1_ETIMEOUT VISA_ETIMEOUT
00076 #define SPHENC1_FOREVER VISA_FOREVER
00081 typedef VISA_Handle SPHENC1_Handle;
00082
00087 typedef struct ISPHENC1_Params SPHENC1_Params;
00088
00089
00090 typedef ISPHENC1_InArgs SPHENC1_InArgs;
00091 typedef ISPHENC1_OutArgs SPHENC1_OutArgs;
00092 typedef ISPHENC1_Cmd SPHENC1_Cmd;
00093 typedef ISPHENC1_Status SPHENC1_Status;
00096 typedef ISPHENC1_DynamicParams SPHENC1_DynamicParams;
00097
00098
00105 extern SKEL_Fxns SPHENC1_SKEL;
00106
00110 extern ISPHENC1_Fxns SPHENC1_STUBS;
00111
00115
00116
00117
00141 extern Int32 SPHENC1_control(SPHENC1_Handle handle, SPHENC1_Cmd id,
00142 SPHENC1_DynamicParams *params, SPHENC1_Status *status);
00143
00144
00145
00146
00147
00175 extern SPHENC1_Handle SPHENC1_create(Engine_Handle e, String name,
00176 SPHENC1_Params *params);
00177
00178
00179
00180
00181
00199 extern Void SPHENC1_delete(SPHENC1_Handle handle);
00200
00201
00202
00203
00204
00243 extern Int32 SPHENC1_process(SPHENC1_Handle handle,
00244 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00245 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs);
00246
00247
00248
00249
00286 extern XDAS_Int32 SPHENC1_processAsync(SPHENC1_Handle handle,
00287 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00288 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs);
00289
00290
00291
00292
00335 extern XDAS_Int32 SPHENC1_processWait(SPHENC1_Handle handle,
00336 XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf,
00337 SPHENC1_InArgs *inArgs, SPHENC1_OutArgs *outArgs, UInt timeout);
00338
00341 #ifdef __cplusplus
00342 }
00343 #endif
00344
00345 #endif
00346
00347
00348
00349