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
00052 #ifndef ti_sdo_ce_speech_SPHENC_
00053 #define ti_sdo_ce_speech_SPHENC_
00054
00055 #ifdef __cplusplus
00056 extern "C" {
00057 #endif
00058
00059
00060
00061
00062
00063 #ifndef XDM_INCLUDE_DOT9_SUPPORT
00064 #define XDM_INCLUDE_DOT9_SUPPORT
00065 #endif
00066 #include <ti/xdais/dm/xdm.h>
00067 #include <ti/xdais/dm/isphenc.h>
00068
00069 #include <ti/sdo/ce/Engine.h>
00070 #include <ti/sdo/ce/visa.h>
00071 #include <ti/sdo/ce/skel.h>
00072
00075
00076 typedef ISPHENC_Status SPHENC_Status;
00078 #define SPHENC_EOK ISPHENC_EOK
00079 #define SPHENC_EFAIL ISPHENC_EFAIL
00080 #define SPHENC_ERUNTIME ISPHENC_ERUNTIME
00081 #define SPHENC_ETIMEOUT VISA_ETIMEOUT
00082 #define SPHENC_FOREVER VISA_FOREVER
00087 #define SPHENC_VISATYPE "ti.sdo.ce.speech.ISPHENC"
00088
00095 #define SPHENC_STUBSNAME "SPHENC_STUBS"
00096
00097
00101 typedef VISA_Handle SPHENC_Handle;
00102
00107 typedef struct ISPHENC_Params SPHENC_Params;
00108
00112 typedef ISPHENC_InArgs SPHENC_InArgs;
00113
00117 typedef ISPHENC_OutArgs SPHENC_OutArgs;
00118
00122 typedef ISPHENC_Cmd SPHENC_Cmd;
00123
00127 typedef ISPHENC_DynamicParams SPHENC_DynamicParams;
00128
00135 extern SKEL_Fxns SPHENC_SKEL;
00136
00140 extern ISPHENC_Fxns SPHENC_STUBS;
00141
00144
00145
00146
00171 extern SPHENC_Handle SPHENC_create(Engine_Handle e, String name,
00172 SPHENC_Params *params);
00173
00174
00175
00176
00177
00216 extern Int32 SPHENC_process(SPHENC_Handle handle,
00217 XDM_BufDesc *inBufs, XDM_BufDesc *outBufs,
00218 SPHENC_InArgs *inArgs, SPHENC_OutArgs *outArgs);
00219
00220
00221
00222
00223
00247 extern Int32 SPHENC_control(SPHENC_Handle handle, SPHENC_Cmd id,
00248 SPHENC_DynamicParams *params, SPHENC_Status *status);
00249
00250
00251
00252
00253
00271 extern Void SPHENC_delete(SPHENC_Handle handle);
00272
00273
00274
00275
00276
00313 extern XDAS_Int32 SPHENC_processAsync(SPHENC_Handle handle, XDM_BufDesc *inBufs,
00314 XDM_BufDesc *outBufs, ISPHENC_InArgs *inArgs, ISPHENC_OutArgs *outArgs);
00315
00316
00317
00318
00319
00362 extern XDAS_Int32 SPHENC_processWait(SPHENC_Handle handle, XDM_BufDesc *inBufs,
00363 XDM_BufDesc *outBufs, ISPHENC_InArgs *inArgs, ISPHENC_OutArgs *outArgs,
00364 UInt timeout);
00365
00366
00369 #ifdef __cplusplus
00370 }
00371 #endif
00372
00373 #endif
00374
00375
00376
00377
00378