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_audio_AUDENC_
00052 #define ti_sdo_ce_audio_AUDENC_
00053
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057
00058
00059
00060
00061
00062 #ifndef XDM_INCLUDE_DOT9_SUPPORT
00063 #define XDM_INCLUDE_DOT9_SUPPORT
00064 #endif
00065 #include <ti/xdais/dm/xdm.h>
00066 #include <ti/xdais/dm/iaudenc.h>
00067
00068 #include <ti/sdo/ce/Engine.h>
00069 #include <ti/sdo/ce/visa.h>
00070 #include <ti/sdo/ce/skel.h>
00071
00074
00075 #define AUDENC_EOK IAUDENC_EOK
00076 #define AUDENC_EFAIL IAUDENC_EFAIL
00077 #define AUDENC_ERUNTIME IAUDENC_ERUNTIME
00078 #define AUDENC_ETIMEOUT VISA_ETIMEOUT
00079 #define AUDENC_FOREVER VISA_FOREVER
00085 typedef VISA_Handle AUDENC_Handle;
00086
00087 typedef IAUDENC_Params AUDENC_Params;
00089 typedef IAUDENC_InArgs AUDENC_InArgs;
00090 typedef IAUDENC_OutArgs AUDENC_OutArgs;
00091 typedef IAUDENC_Cmd AUDENC_Cmd;
00092 typedef IAUDENC_Status AUDENC_Status;
00095 typedef IAUDENC_DynamicParams AUDENC_DynamicParams;
00096
00097
00104 extern SKEL_Fxns AUDENC_SKEL;
00105
00109 extern IAUDENC_Fxns AUDENC_STUBS;
00110
00114
00115
00116
00146 extern Int32 AUDENC_control(AUDENC_Handle handle, AUDENC_Cmd id,
00147 AUDENC_DynamicParams *params, AUDENC_Status *status);
00148
00149
00150
00151
00152
00181 extern AUDENC_Handle AUDENC_create(Engine_Handle e, String name,
00182 AUDENC_Params *params);
00183
00184
00185
00186
00187
00205 extern Void AUDENC_delete(AUDENC_Handle handle);
00206
00207
00208
00209
00210
00255 extern Int32 AUDENC_process(AUDENC_Handle handle,
00256 XDM_BufDesc *inBufs, XDM_BufDesc *outBufs,
00257 AUDENC_InArgs *inArgs, AUDENC_OutArgs *outArgs);
00258
00259
00260
00261
00262
00302 extern XDAS_Int32 AUDENC_processAsync(AUDENC_Handle handle, XDM_BufDesc *inBufs,
00303 XDM_BufDesc *outBufs, IAUDENC_InArgs *inArgs, IAUDENC_OutArgs *outArgs);
00304
00305
00306
00307
00308
00351 extern XDAS_Int32 AUDENC_processWait(AUDENC_Handle handle, XDM_BufDesc *inBufs,
00352 XDM_BufDesc *outBufs, IAUDENC_InArgs *inArgs, IAUDENC_OutArgs *outArgs,
00353 UInt timeout);
00354
00355
00358 #ifdef __cplusplus
00359 }
00360 #endif
00361
00362 #endif
00363
00364
00365
00366
00367