}
int plugin_SynthesizeText(char const *pszLanguage, int eVoiceType_0, char const *pszTextUtf8,
- int eSpeechSpeed_0, void* pUserParam)
+ int eSpeechSpeed_0, const char* credential, void* pUserParam)
{
int iVoiceInfo = -1;
int eVoiceType = eVoiceType_0;
return 0;
}
+bool plugin_NeedAppCredential(void)
+{
+ return false;
+}
+
void plugin_SetDaemonAPIs(ttspd_funcs_s const * pAPIs)
{
gpDaemonAPIs = pAPIs;
#include <dlog/dlog.h>
#include <ttsp.h>
+#include <tizen.h>
#ifdef __cplusplus
extern "C" {
int plugin_Finalize(void);
-int plugin_SynthesizeText
-(
- char const *pszLanguage,
- int const eVoiceType,
- char const * pszTextUtf8,
- int const eSpeechSpeed,
- void * pUserParam
-);
+int plugin_SynthesizeText(char const *pszLanguage, int eVoiceType_0, char const *pszTextUtf8,
+ int eSpeechSpeed_0, const char* credential, void* pUserParam);
int plugin_StopSynthesis(void);
int plugin_UnloadVoice(const char* language, int type);
+bool plugin_NeedAppCredential(void);
+
void plugin_SetDaemonAPIs (ttspd_funcs_s const * pAPIs);
pefuncs->load_voice = plugin_LoadVoice;
pefuncs->unload_voice = plugin_UnloadVoice;
+ pefuncs->need_app_credential = plugin_NeedAppCredential;
+
plugin_SetDaemonAPIs(pdfuncs);
SLOG(LOG_DEBUG, TAG_TTSP, "[SMT] ttsp_load_engine() : version(%d), (6.20110527), size(%d)", pefuncs->version, pefuncs->size);