Macros | Typedefs | Functions
qtts.h File Reference

iFLY Speech Synthesizer Header File More...

#include "msp_types.h"
Include dependency graph for qtts.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MSPAPI
 

Typedefs

typedef const void *(MSPAPIProc_QTTSAudioGet) (const char *sessionID, unsigned int *audioLen, int *synthStatus, int *errorCode)
 
typedef const char *(MSPAPIProc_QTTSAudioInfo) (const char *sessionID)
 
typedef int(MSPAPIProc_QTTSGetParam) (const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)
 
typedef const char *(MSPAPIProc_QTTSSessionBegin) (const char *params, int *errorCode)
 
typedef int(MSPAPIProc_QTTSSessionEnd) (const char *sessionID, const char *hints)
 
typedef int(MSPAPIProc_QTTSSetParam) (const char *sessionID, const char *paramName, char *paramValue)
 
typedef int(MSPAPIProc_QTTSTextPut) (const char *sessionID, const char *textString, unsigned int textLen, const char *params)
 
typedef void(* tts_error_ntf_handler) (const char *sessionID, int errorCode, const char *detail, void *userData)
 
typedef void(* tts_result_ntf_handler) (const char *sessionID, const char *audio, int audioLen, int synthStatus, int ced, const char *audioInfo, int audioInfoLen, void *userData)
 
typedef void(* tts_status_ntf_handler) (const char *sessionID, int type, int status, int param1, const void *param2, void *userData)
 

Functions

const void *MSPAPI QTTSAudioGet (const char *sessionID, unsigned int *audioLen, int *synthStatus, int *errorCode)
 
const char *MSPAPI QTTSAudioInfo (const char *sessionID)
 
int MSPAPI QTTSGetParam (const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)
 
int MSPAPI QTTSRegisterNotify (const char *sessionID, tts_result_ntf_handler rsltCb, tts_status_ntf_handler statusCb, tts_error_ntf_handler errCb, void *userData)
 
const char *MSPAPI QTTSSessionBegin (const char *params, int *errorCode)
 
int MSPAPI QTTSSessionEnd (const char *sessionID, const char *hints)
 
int MSPAPI QTTSSetParam (const char *sessionID, const char *paramName, const char *paramValue)
 
int MSPAPI QTTSTextPut (const char *sessionID, const char *textString, unsigned int textLen, const char *params)
 

Detailed Description

iFLY Speech Synthesizer Header File

This file contains the quick application programming interface (API) declarations

of TTS. Developer can include this file in your project to build applications.

For more information, please read the developer guide.

Use of this software is subject to certain restrictions and limitations set

forth in a license agreement entered into between iFLYTEK, Co,LTD.

and the licensee of this software. Please refer to the license

agreement for license use rights and restrictions.

Copyright (C) 1999 - 2009 by ANHUI USTC iFLYTEK, Co,LTD.

             All rights reserved.
Author
Speech Dept.
Version
1.0
Date
2009/11/26
See also

History:

Version Date Author Notes
1.0 2009/11/26 Speech Create this file

Definition in file qtts.h.

Macro Definition Documentation

#define MSPAPI

Definition at line 55 of file qtts.h.

Typedef Documentation

typedef const void*(MSPAPI* Proc_QTTSAudioGet) (const char *sessionID, unsigned int *audioLen, int *synthStatus, int *errorCode)

Definition at line 132 of file qtts.h.

typedef const char*(MSPAPI* Proc_QTTSAudioInfo) (const char *sessionID)

Definition at line 155 of file qtts.h.

typedef int(MSPAPI* Proc_QTTSGetParam) (const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)

Definition at line 196 of file qtts.h.

typedef const char*(MSPAPI* Proc_QTTSSessionBegin) (const char *params, int *errorCode)

Definition at line 82 of file qtts.h.

typedef int(MSPAPI* Proc_QTTSSessionEnd) (const char *sessionID, const char *hints)

Definition at line 176 of file qtts.h.

typedef int(MSPAPI* Proc_QTTSSetParam) (const char *sessionID, const char *paramName, char *paramValue)

Definition at line 218 of file qtts.h.

typedef int(MSPAPI* Proc_QTTSTextPut) (const char *sessionID, const char *textString, unsigned int textLen, const char *params)

Definition at line 105 of file qtts.h.

typedef void(* tts_error_ntf_handler) (const char *sessionID, int errorCode, const char *detail, void *userData)

Definition at line 228 of file qtts.h.

typedef void(* tts_result_ntf_handler) (const char *sessionID, const char *audio, int audioLen, int synthStatus, int ced, const char *audioInfo, int audioInfoLen, void *userData)

Definition at line 224 of file qtts.h.

typedef void(* tts_status_ntf_handler) (const char *sessionID, int type, int status, int param1, const void *param2, void *userData)

Definition at line 226 of file qtts.h.

Function Documentation

const void* MSPAPI QTTSAudioGet ( const char *  sessionID,
unsigned int *  audioLen,
int *  synthStatus,
int *  errorCode 
)
const char* MSPAPI QTTSAudioInfo ( const char *  sessionID)
int MSPAPI QTTSGetParam ( const char *  sessionID,
const char *  paramName,
char *  paramValue,
unsigned int *  valueLen 
)
int MSPAPI QTTSRegisterNotify ( const char *  sessionID,
tts_result_ntf_handler  rsltCb,
tts_status_ntf_handler  statusCb,
tts_error_ntf_handler  errCb,
void *  userData 
)
const char* MSPAPI QTTSSessionBegin ( const char *  params,
int *  errorCode 
)
int MSPAPI QTTSSessionEnd ( const char *  sessionID,
const char *  hints 
)
int MSPAPI QTTSSetParam ( const char *  sessionID,
const char *  paramName,
const char *  paramValue 
)
int MSPAPI QTTSTextPut ( const char *  sessionID,
const char *  textString,
unsigned int  textLen,
const char *  params 
)


xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54