Defines | Typedefs | Functions

sphdec1.h File Reference


Detailed Description

The SPHDEC1 speech decoder interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM-defined ISPHDEC1 speech decoder interface.

#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/isphdec1.h>
#include <ti/sdo/ce/Engine.h>
#include <ti/sdo/ce/visa.h>
#include <ti/sdo/ce/skel.h>
Include dependency graph for sphdec1.h:

Go to the source code of this file.

Defines

#define SPHDEC1_EOK   ISPHDEC1_EOK
#define SPHDEC1_EFAIL   ISPHDEC1_EFAIL
#define SPHDEC1_EUNSUPPORTED   ISPHDEC1_EUNSUPPORTED
#define SPHDEC1_ETIMEOUT   VISA_ETIMEOUT
#define SPHDEC1_FOREVER   VISA_FOREVER
#define SPHDEC1_VISATYPE   "ti.sdo.ce.speech1.ISPHDEC1"
 The VISA type.

Typedefs

typedef VISA_Handle SPHDEC1_Handle
 Opaque handle to a SPHDEC1 codec.
typedef ISPHDEC1_Params SPHDEC1_Params
typedef ISPHDEC1_InArgs SPHDEC1_InArgs
typedef ISPHDEC1_OutArgs SPHDEC1_OutArgs
typedef ISPHDEC1_Cmd SPHDEC1_Cmd
typedef ISPHDEC1_DynamicParams SPHDEC1_DynamicParams
typedef ISPHDEC1_Status SPHDEC1_Status

Functions

Int32 SPHDEC1_control (SPHDEC1_Handle handle, SPHDEC1_Cmd id, SPHDEC1_DynamicParams *params, SPHDEC1_Status *status)
 Execute the control() method in this instance of a speech decoder algorithm.
SPHDEC1_Handle SPHDEC1_create (Engine_Handle e, String name, SPHDEC1_Params *params)
 Create an instance of a speech decoder algorithm.
Void SPHDEC1_delete (SPHDEC1_Handle handle)
 Delete the instance of a speech decoder algorithm.
Int32 SPHDEC1_process (SPHDEC1_Handle handle, XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf, SPHDEC1_InArgs *inArgs, SPHDEC1_OutArgs *outArgs)
 Execute the process() method in this instance of a speech decoder algorithm.
XDAS_Int32 SPHDEC1_processAsync (SPHDEC1_Handle handle, XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf, SPHDEC1_InArgs *inArgs, SPHDEC1_OutArgs *outArgs)
 Perform asynchronous submission to this instance of a speech decoder algorithm.
XDAS_Int32 SPHDEC1_processWait (SPHDEC1_Handle handle, XDM1_SingleBufDesc *inBuf, XDM1_SingleBufDesc *outBuf, SPHDEC1_InArgs *inArgs, SPHDEC1_OutArgs *outArgs, UInt timeout)
 Wait for a return message from a previous invocation of SPHDEC1_processAsync() in this instance of an speech decoder algorithm.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2012, Texas Instruments Incorporated