51 #define MSPAPI __stdcall 85 const wchar_t*
MSPAPI QTTSSessionBeginW(
const wchar_t* params,
int* errorCode);
87 typedef const wchar_t*(
MSPAPI* Proc_QTTSSessionBeginW)(
const wchar_t* params,
int* errorCode);
103 int MSPAPI QTTSTextPut(
const char* sessionID,
const char* textString,
unsigned int textLen,
const char* params);
108 #if MSP_WCHAR_SUPPORT 109 int MSPAPI QTTSTextPutW(
const wchar_t* sessionID,
const wchar_t* textString,
unsigned int textLen,
110 const wchar_t* params);
112 typedef int(
MSPAPI* Proc_QTTSTextPutW)(
const wchar_t* sessionID,
const wchar_t* textString,
unsigned int textLen,
113 const wchar_t* params);
130 const void*
MSPAPI QTTSAudioGet(
const char* sessionID,
unsigned int* audioLen,
int* synthStatus,
int* errorCode);
135 #if MSP_WCHAR_SUPPORT 136 const void*
MSPAPI QTTSAudioGetW(
const wchar_t* sessionID,
unsigned int* audioLen,
int* synthStatus,
int* errorCode);
138 typedef const void*(
MSPAPI* Proc_QTTSAudioGetW)(
const wchar_t* sessionID,
unsigned int* audioLen,
int* synthStatus,
157 #if MSP_WCHAR_SUPPORT 158 const wchar_t*
MSPAPI QTTSAudioInfoW(
const wchar_t* sessionID);
160 typedef const wchar_t*(
MSPAPI* Proc_QTTSAudioInfoW)(
const wchar_t* sessionID);
177 #if MSP_WCHAR_SUPPORT 178 int MSPAPI QTTSSessionEndW(
const wchar_t* sessionID,
const wchar_t* hints);
179 typedef int(
MSPAPI* Proc_QTTSSessionEndW)(
const wchar_t* sessionID,
const wchar_t* hints);
195 int MSPAPI QTTSGetParam(
const char* sessionID,
const char* paramName,
char* paramValue,
unsigned int* valueLen);
197 unsigned int* valueLen);
198 #if MSP_WCHAR_SUPPORT 199 int MSPAPI QTTSGetParamW(
const wchar_t* sessionID,
const wchar_t* paramName,
wchar_t* paramValue,
200 unsigned int* valueLen);
201 typedef int(
MSPAPI* Proc_QTTSGetParamW)(
const wchar_t* sessionID,
const wchar_t* paramName,
wchar_t* paramValue,
202 unsigned int* valueLen);
217 int MSPAPI QTTSSetParam(
const char* sessionID,
const char* paramName,
const char* paramValue);
219 #if MSP_WCHAR_SUPPORT 220 int MSPAPI QTTSSetParamW(
const wchar_t* sessionID,
const wchar_t* paramName,
wchar_t* paramValue);
221 typedef int(
MSPAPI* Proc_QTTSSetParamW)(
const wchar_t* sessionID,
const wchar_t* paramName,
wchar_t* paramValue);
225 const char* audioInfo,
int audioInfoLen,
void* userData);
void(* tts_error_ntf_handler)(const char *sessionID, int errorCode, const char *detail, void *userData)
const char *MSPAPI QTTSSessionBegin(const char *params, int *errorCode)
int(MSPAPI * Proc_QTTSSetParam)(const char *sessionID, const char *paramName, char *paramValue)
void(* tts_status_ntf_handler)(const char *sessionID, int type, int status, int param1, const void *param2, void *userData)
int(MSPAPI * Proc_QTTSGetParam)(const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)
void(* tts_result_ntf_handler)(const char *sessionID, const char *audio, int audioLen, int synthStatus, int ced, const char *audioInfo, int audioInfoLen, void *userData)
const char *(MSPAPI * Proc_QTTSSessionBegin)(const char *params, int *errorCode)
const void *MSPAPI QTTSAudioGet(const char *sessionID, unsigned int *audioLen, int *synthStatus, int *errorCode)
const char *MSPAPI QTTSAudioInfo(const char *sessionID)
int MSPAPI QTTSSessionEnd(const char *sessionID, const char *hints)
int MSPAPI QTTSSetParam(const char *sessionID, const char *paramName, const char *paramValue)
const void *(MSPAPI * Proc_QTTSAudioGet)(const char *sessionID, unsigned int *audioLen, int *synthStatus, int *errorCode)
int MSPAPI QTTSRegisterNotify(const char *sessionID, tts_result_ntf_handler rsltCb, tts_status_ntf_handler statusCb, tts_error_ntf_handler errCb, void *userData)
int(MSPAPI * Proc_QTTSTextPut)(const char *sessionID, const char *textString, unsigned int textLen, const char *params)
int MSPAPI QTTSGetParam(const char *sessionID, const char *paramName, char *paramValue, unsigned int *valueLen)
int(MSPAPI * Proc_QTTSSessionEnd)(const char *sessionID, const char *hints)
const char *(MSPAPI * Proc_QTTSAudioInfo)(const char *sessionID)
int MSPAPI QTTSTextPut(const char *sessionID, const char *textString, unsigned int textLen, const char *params)