audenc.h File Reference


Detailed Description

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>
Include dependency graph for audenc.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

Typedefs

typedef IAUDENC_Status AUDENC_Status
typedef VISA_Handle AUDENC_Handle
 Opaque handle to a AUDENC codec.
typedef struct IAUDENC_Params AUDENC_Params
 This structure defines the parameters necessary to create an instance of a Audio Encoder object.
typedef IAUDENC_InArgs AUDENC_InArgs
typedef IAUDENC_OutArgs AUDENC_OutArgs
typedef IAUDENC_Cmd AUDENC_Cmd
typedef IAUDENC_DynamicParams AUDENC_DynamicParams

Functions

AUDENC_Handle AUDENC_create (Engine_Handle e, String name, AUDENC_Params *params)
 Create an 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.
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.
Void AUDENC_delete (AUDENC_Handle handle)
 Delete the 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.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2010, Texas Instruments Incorporated