Adec.h File Reference

#include <xdc/std.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/audio/auddec.h>
#include <ti/sdo/dmai/Dmai.h>
#include <ti/sdo/dmai/Buffer.h>

Go to the source code of this file.


Typedefs

typedef struct Adec_Object * Adec_Handle
 Handle through which to reference an Audio Decode algorithm.

Functions

Adec_Handle Adec_create (Engine_Handle hEngine, Char *codecName, AUDDEC_Params *params, AUDDEC_DynamicParams *dynParams)
 Creates an Audio Decode (XDM 0.9) algorithm instance.
Int Adec_process (Adec_Handle hAd, Buffer_Handle hInBuf, Buffer_Handle hOutBuf)
 Decodes an audio buffer.
Int Adec_delete (Adec_Handle hAd)
 Deletes an Audio Decode algorithm instance.
AUDDEC_Handle Adec_getVisaHandle (Adec_Handle hAd)
 Get the AUDDEC handle from the Adec module instance.
Int Adec_getSampleRate (Adec_Handle hAd)
 Get the sample rate detected by the algorithm.
Int32 Adec_getInBufSize (Adec_Handle hAd)
 Get the input buffer size required by the codec.
Int32 Adec_getOutBufSize (Adec_Handle hAd)
 Get the output buffer size required by the codec.

Variables

const AUDDEC_Params Adec_Params_DEFAULT
 Default XDM parameters for an Audio Decode algorithm.
const AUDDEC_DynamicParams Adec_DynamicParams_DEFAULT
 Default XDM dynamic parameters for an Audio Decode algorithm.

Copyright 2011, Texas Instruments Incorporated