audenc1.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_audio1_AUDENC1_
00053 #define ti_sdo_ce_audio1_AUDENC1_
00054
00055 #ifdef __cplusplus
00056 extern "C" {
00057 #endif
00058
00059 #include <ti/xdais/dm/xdm.h>
00060 #include <ti/xdais/dm/iaudenc1.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 AUDENC1_EOK IAUDENC1_EOK
00070 #define AUDENC1_EFAIL IAUDENC1_EFAIL
00073 #define AUDENC1_EUNSUPPORTED IAUDENC1_EUNSUPPORTED
00074
00075 #define AUDENC1_ETIMEOUT VISA_ETIMEOUT
00076 #define AUDENC1_FOREVER VISA_FOREVER
00082 typedef VISA_Handle AUDENC1_Handle;
00083
00088 typedef struct IAUDENC1_Params AUDENC1_Params;
00089
00090
00091 typedef IAUDENC1_InArgs AUDENC1_InArgs;
00092 typedef IAUDENC1_OutArgs AUDENC1_OutArgs;
00093 typedef IAUDENC1_Cmd AUDENC1_Cmd;
00094 typedef IAUDENC1_Status AUDENC1_Status;
00097 typedef IAUDENC1_DynamicParams AUDENC1_DynamicParams;
00098
00099
00106 extern SKEL_Fxns AUDENC1_SKEL;
00107
00111 extern IAUDENC1_Fxns AUDENC1_STUBS;
00112
00116
00117
00118
00142 extern Int32 AUDENC1_control(AUDENC1_Handle handle, AUDENC1_Cmd id,
00143 AUDENC1_DynamicParams *params, AUDENC1_Status *status);
00144
00145
00146
00147
00148
00176 extern AUDENC1_Handle AUDENC1_create(Engine_Handle e, String name,
00177 AUDENC1_Params *params);
00178
00179
00180
00181
00182
00200 extern Void AUDENC1_delete(AUDENC1_Handle handle);
00201
00202
00203
00204
00205
00245 extern Int32 AUDENC1_process(AUDENC1_Handle handle, XDM1_BufDesc *inBufs,
00246 XDM1_BufDesc *outBufs, AUDENC1_InArgs *inArgs, AUDENC1_OutArgs *outArgs);
00247
00248
00249
00250
00251
00288 extern Int32 AUDENC1_processAsync(AUDENC1_Handle handle, XDM1_BufDesc *inBufs,
00289 XDM1_BufDesc *outBufs, AUDENC1_InArgs *inArgs, AUDENC1_OutArgs *outArgs);
00290
00291
00292
00293
00294
00337 extern Int32 AUDENC1_processWait(AUDENC1_Handle handle, XDM1_BufDesc *inBufs,
00338 XDM1_BufDesc *outBufs, AUDENC1_InArgs *inArgs, AUDENC1_OutArgs *outArgs,
00339 UInt timeout);
00340
00341
00344 #ifdef __cplusplus
00345 }
00346 #endif
00347
00348 #endif
00349
00350
00351
00352