The SPHDEC speech decoder codec interface. Provides the user an interface to create and interact with XDAIS algorithms that are compliant with the XDM ISPHDEC speech decoder interface.
#include <ti/xdais/dm/xdm.h>
#include <ti/xdais/dm/isphdec.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 | SPHDEC_EOK ISPHDEC_EOK |
#define | SPHDEC_EFAIL ISPHDEC_EFAIL |
#define | SPHDEC_ERUNTIME ISPHDEC_ERUNTIME |
#define | SPHDEC_ETIMEOUT VISA_ETIMEOUT |
#define | SPHDEC_FOREVER VISA_FOREVER |
Typedefs | |
typedef ISPHDEC_Status | SPHDEC_Status |
typedef VISA_Handle | SPHDEC_Handle |
Opaque handle to a SPHDEC codec. | |
typedef struct ISPHDEC_Params | SPHDEC_Params |
This structure defines the parameters necessary to create an instance of a speech decoder object. | |
typedef ISPHDEC_InArgs | SPHDEC_InArgs |
typedef ISPHDEC_OutArgs | SPHDEC_OutArgs |
typedef ISPHDEC_Cmd | SPHDEC_Cmd |
typedef ISPHDEC_DynamicParams | SPHDEC_DynamicParams |
Functions | |
SPHDEC_Handle | SPHDEC_create (Engine_Handle e, String name, SPHDEC_Params *params) |
Create an instance of a speech decoder algorithm. | |
Int32 | SPHDEC_process (SPHDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs) |
Execute the process() method in this instance of a speech decoder algorithm. | |
Int32 | SPHDEC_control (SPHDEC_Handle handle, SPHDEC_Cmd id, SPHDEC_DynamicParams *params, SPHDEC_Status *status) |
Execute the control method in this instance of a speech decoder algorithm. | |
Void | SPHDEC_delete (SPHDEC_Handle handle) |
Delete the instance of a speech/voice decoder algorithm. | |
XDAS_Int32 | SPHDEC_processAsync (SPHDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs) |
Perform asynchronous submission to this instance of a speech decoder algorithm. | |
XDAS_Int32 | SPHDEC_processWait (SPHDEC_Handle handle, XDM_BufDesc *inBufs, XDM_BufDesc *outBufs, SPHDEC_InArgs *inArgs, SPHDEC_OutArgs *outArgs, UInt timeout) |
Wait for a return message from a previous invocation of SPHDEC_processAsync() in this instance of an speech decoder algorithm. |