The AUDENC audio encoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined IAUDENC audio encoder interface.
#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/iaudenc.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/visa.h>
#include <ti/sdo/ce/skel.h>
Go to the source code of this file.
Defines | |
#define | AUDENC_EOK IAUDENC_EOK |
#define | AUDENC_EFAIL IAUDENC_EFAIL |
#define | AUDENC_ERUNTIME IAUDENC_ERUNTIME |
#define | AUDENC_ETIMEOUT VISA_ETIMEOUT |
#define | AUDENC_FOREVER VISA_FOREVER |
#define | AUDENC_VISATYPE "ti.sdo.ce.audio.IAUDENC" |
The VISA type. | |
#define | AUDENC_STUBSNAME "AUDENC_STUBS" |
Name of stub functions. Use this name when registering the AUDENC_STUBS functions with Engine_addStubFxns. | |
Typedefs | |
typedef VISA_Handle | AUDENC_Handle |
Opaque handle to a AUDENC codec. | |
typedef IAUDENC_Params | AUDENC_Params |
typedef IAUDENC_InArgs | AUDENC_InArgs |
typedef IAUDENC_OutArgs | AUDENC_OutArgs |
typedef IAUDENC_Cmd | AUDENC_Cmd |
typedef IAUDENC_Status | AUDENC_Status |
typedef IAUDENC_DynamicParams | AUDENC_DynamicParams |
Functions | |
Int32 | AUDENC_control (AUDENC_Handle handle, AUDENC_Cmd id, AUDENC_DynamicParams *params, AUDENC_Status *status) |
Execute the control() method in this instance of an audio encoder algorithm. | |
AUDENC_Handle | AUDENC_create (Engine_Handle e, String name, AUDENC_Params *params) |
Create an instance of an audio encoder algorithm. | |
Void | AUDENC_delete (AUDENC_Handle handle) |
Delete the instance of an audio encoder algorithm. | |
Int32 | AUDENC_process (AUDENC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, AUDENC_InArgs *inArgs, AUDENC_OutArgs *outArgs) |
Execute the process() method in this instance of an audio encoder algorithm. | |
XDAS_Int32 | AUDENC_processAsync (AUDENC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, IAUDENC_InArgs *inArgs, IAUDENC_OutArgs *outArgs) |
Perform asynchronous submission to this instance of a audio encoder algorithm. | |
XDAS_Int32 | AUDENC_processWait (AUDENC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, IAUDENC_InArgs *inArgs, IAUDENC_OutArgs *outArgs, UInt timeout) |
Wait for a return message from a previous invocation of AUDENC_processAsync() in this instance of an audio encoder algorithm. |