From 53a14fa444487d31d735b9a90d01c075be2418ba Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Thu, 18 Mar 2010 11:06:16 -0700 Subject: Update manager layer according to interface change to receive engine config data and not support synthesis of IPA-only content. Change-Id: Ibf308a17fb477e72f68467508190ddd928fde6ac --- pico/tts/com_svox_picottsengine.cpp | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'pico') diff --git a/pico/tts/com_svox_picottsengine.cpp b/pico/tts/com_svox_picottsengine.cpp index eb5470b..5e856a0 100644 --- a/pico/tts/com_svox_picottsengine.cpp +++ b/pico/tts/com_svox_picottsengine.cpp @@ -1026,7 +1026,7 @@ int cnvIpaToXsampa( const char16_t * ipaString, size_t ipaStringSize, char ** ou * synthDoneCBPtr - Pointer to callback function which will receive generated samples * return tts_result */ -tts_result TtsEngine::init( synthDoneCB_t synthDoneCBPtr ) +tts_result TtsEngine::init( synthDoneCB_t synthDoneCBPtr, const char *config ) { if (synthDoneCBPtr == NULL) { LOGE("Callback pointer is NULL"); @@ -1607,24 +1607,6 @@ tts_result TtsEngine::synthesizeText( const char * text, int8_t * buffer, size_t } -/** synthesizeIpa - * Synthesizes a phonetic string in IPA format. - The Pico engine understands only XSAMPA, so the IPA must be converted. - The string must also be parceled into words since it can only hanlde a word at a time. - Each phonemic word must be wrapped with a tag. - * @ipa - phonetic string to synthesize - * @buffer - buffer which will receive generated samples - * @bufferSize - size of buffer - * @userdata - pointer to user data which will be passed back to callback function - * return tts_result -*/ -tts_result TtsEngine::synthesizeIpa( const char * ipa, int8_t * buffer, size_t bufferSize, void * userdata ) -{ - // deprecated call - return TTS_FAILURE; - -} - /** stop * Aborts the running synthesis. -- cgit v1.1