diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2010-03-18 11:06:16 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2010-03-18 11:55:14 -0700 |
commit | 53a14fa444487d31d735b9a90d01c075be2418ba (patch) | |
tree | ef011272062a08ed3c0c25cbaefedf483c40da79 /pico | |
parent | d557b85c3620164d6e038ee6ae19571728e032ec (diff) | |
download | external_svox-53a14fa444487d31d735b9a90d01c075be2418ba.zip external_svox-53a14fa444487d31d735b9a90d01c075be2418ba.tar.gz external_svox-53a14fa444487d31d735b9a90d01c075be2418ba.tar.bz2 |
Update manager layer according to interface change to receive
engine config data and not support synthesis of IPA-only content.
Change-Id: Ibf308a17fb477e72f68467508190ddd928fde6ac
Diffstat (limited to 'pico')
-rw-r--r-- | pico/tts/com_svox_picottsengine.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
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. |