summaryrefslogtreecommitdiffstats
path: root/pico/tts
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-08-28 10:50:13 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2009-08-28 10:55:37 -0700
commit070c0460fcdfe276cce9dbf49a883d7c6a02c5c4 (patch)
treec4b903f5cc352565a998794ab7095af90bfd4a0d /pico/tts
parent4314a845286fbeda7ff7a112f19411a645f6c3cf (diff)
downloadexternal_svox-070c0460fcdfe276cce9dbf49a883d7c6a02c5c4.zip
external_svox-070c0460fcdfe276cce9dbf49a883d7c6a02c5c4.tar.gz
external_svox-070c0460fcdfe276cce9dbf49a883d7c6a02c5c4.tar.bz2
Removing camelCase processing from TTS management layer until new code drop.
Diffstat (limited to 'pico/tts')
-rw-r--r--pico/tts/com_svox_picottsengine.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/pico/tts/com_svox_picottsengine.cpp b/pico/tts/com_svox_picottsengine.cpp
index 41cfcdf..3386a06 100644
--- a/pico/tts/com_svox_picottsengine.cpp
+++ b/pico/tts/com_svox_picottsengine.cpp
@@ -29,6 +29,7 @@
* If the language is changed through an SSML tag, there is a latency for the load.
*
*/
+//#define LOG_NDEBUG 0
#include <stdio.h>
#include <unistd.h>
@@ -1491,12 +1492,15 @@ tts_result TtsEngine::synthesizeText( const char * text, int8_t * buffer, size_t
}
} else {
/* camelCase pre-processing */
- expanded_text = doCamelCase(text);
+ //expanded_text = doCamelCase(text);
/* Add property tags to the string - if any. */
- local_text = (pico_Char *) doAddProperties( expanded_text );
- free( expanded_text );
+ local_text = (pico_Char *) doAddProperties( text );//expanded_text );
+ /*if (expanded_text) {
+ LOGV("freeing string for %s", expanded_text);
+ free( expanded_text );
+ }*/
if (!local_text) {
- LOGE("Failed to allocate memory for text string");
+ LOGE("Failed to allocate memory for text string");
return TTS_FAILURE;
}
}