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_SPHDEC_
00053 #define ti_sdo_ce_speech_SPHDEC_
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/isphdec.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 ISPHDEC_Status SPHDEC_Status;
00078 #define SPHDEC_EOK ISPHDEC_EOK
00079 #define SPHDEC_EFAIL ISPHDEC_EFAIL
00080 #define SPHDEC_ERUNTIME ISPHDEC_ERUNTIME
00081 #define SPHDEC_ETIMEOUT VISA_ETIMEOUT
00082 #define SPHDEC_FOREVER VISA_FOREVER
00087 #define SPHDEC_VISATYPE "ti.sdo.ce.speech.ISPHDEC"
00088
00092 typedef VISA_Handle SPHDEC_Handle;
00093
00098 typedef struct ISPHDEC_Params SPHDEC_Params;
00099
00103 typedef ISPHDEC_InArgs SPHDEC_InArgs;
00104
00108 typedef ISPHDEC_OutArgs SPHDEC_OutArgs;
00109
00113 typedef ISPHDEC_Cmd SPHDEC_Cmd;
00114
00118 typedef ISPHDEC_DynamicParams SPHDEC_DynamicParams;
00119
00126 extern SKEL_Fxns SPHDEC_SKEL;
00127
00131 extern ISPHDEC_Fxns SPHDEC_STUBS;
00132
00135
00136
00137
00162 extern SPHDEC_Handle SPHDEC_create(Engine_Handle e, String name,
00163 SPHDEC_Params *params);
00164
00165
00166
00167
00168
00207 extern Int32 SPHDEC_process(SPHDEC_Handle handle,
00208 XDM_BufDesc *inBufs, XDM_BufDesc *outBufs,
00209 SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs);
00210
00211
00212
00213
00214
00238 extern Int32 SPHDEC_control(SPHDEC_Handle handle, SPHDEC_Cmd id,
00239 SPHDEC_DynamicParams *params, SPHDEC_Status *status);
00240
00241
00242
00243
00244
00262 extern Void SPHDEC_delete(SPHDEC_Handle handle);
00263
00264
00265
00266
00267
00304 extern XDAS_Int32 SPHDEC_processAsync(SPHDEC_Handle handle, XDM_BufDesc *inBufs,
00305 XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs);
00306
00307
00308
00309
00310
00353 extern XDAS_Int32 SPHDEC_processWait(SPHDEC_Handle handle, XDM_BufDesc *inBufs,
00354 XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs,
00355 UInt timeout);
00356
00357
00360 #ifdef __cplusplus
00361 }
00362 #endif
00363
00364 #endif
00365
00366
00367
00368
00369