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_audio1_AUDENC1_
00052 #define ti_sdo_ce_audio1_AUDENC1_
00053
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057
00058 #include <ti/xdais/dm/xdm.h>
00059 #include <ti/xdais/dm/iaudenc1.h>
00060
00061 #include <ti/sdo/ce/Engine.h>
00062 #include <ti/sdo/ce/visa.h>
00063 #include <ti/sdo/ce/skel.h>
00064
00067
00069 #define AUDENC1_EOK IAUDENC1_EOK
00070
00071 #define AUDENC1_EFAIL IAUDENC1_EFAIL
00072
00074 #define AUDENC1_EUNSUPPORTED IAUDENC1_EUNSUPPORTED
00075
00076 #define AUDENC1_ETIMEOUT VISA_ETIMEOUT
00077 #define AUDENC1_FOREVER VISA_FOREVER
00083 typedef VISA_Handle AUDENC1_Handle;
00084
00086 typedef IAUDENC1_Params AUDENC1_Params;
00087
00089 typedef IAUDENC1_InArgs AUDENC1_InArgs;
00090
00092 typedef IAUDENC1_OutArgs AUDENC1_OutArgs;
00093
00095 typedef IAUDENC1_Cmd AUDENC1_Cmd;
00096
00098 typedef IAUDENC1_DynamicParams AUDENC1_DynamicParams;
00099
00101 typedef IAUDENC1_Status AUDENC1_Status;
00102
00103
00110 extern SKEL_Fxns AUDENC1_SKEL;
00111
00115 extern IAUDENC1_Fxns AUDENC1_STUBS;
00116
00120
00121
00122
00146 extern Int32 AUDENC1_control(AUDENC1_Handle handle, AUDENC1_Cmd id,
00147 AUDENC1_DynamicParams *params, AUDENC1_Status *status);
00148
00149
00150
00151
00152
00181 extern AUDENC1_Handle AUDENC1_create(Engine_Handle e, String name,
00182 AUDENC1_Params *params);
00183
00184
00185
00186
00187
00205 extern Void AUDENC1_delete(AUDENC1_Handle handle);
00206
00207
00208
00209
00210
00253 extern Int32 AUDENC1_process(AUDENC1_Handle handle, XDM1_BufDesc *inBufs,
00254 XDM1_BufDesc *outBufs, AUDENC1_InArgs *inArgs, AUDENC1_OutArgs *outArgs);
00255
00256
00257
00258
00259
00296 extern Int32 AUDENC1_processAsync(AUDENC1_Handle handle, XDM1_BufDesc *inBufs,
00297 XDM1_BufDesc *outBufs, AUDENC1_InArgs *inArgs, AUDENC1_OutArgs *outArgs);
00298
00299
00300
00301
00302
00345 extern Int32 AUDENC1_processWait(AUDENC1_Handle handle, XDM1_BufDesc *inBufs,
00346 XDM1_BufDesc *outBufs, AUDENC1_InArgs *inArgs, AUDENC1_OutArgs *outArgs,
00347 UInt timeout);
00348
00349
00352 #ifdef __cplusplus
00353 }
00354 #endif
00355
00356 #endif
00357
00358
00359
00360
00361