summaryrefslogtreecommitdiffstats
path: root/pico/lib/picosa.c
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2010-02-09 18:55:56 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2010-02-09 18:55:56 -0800
commite9f72c8954f29f10cb4feb16d328a1b5c1fd7169 (patch)
tree91a67176eca914b3defe801e7fbedf9a594804ba /pico/lib/picosa.c
parentfb6d3dae347f47107e5767f1ec6e87ed0bf9875a (diff)
downloadexternal_svox-e9f72c8954f29f10cb4feb16d328a1b5c1fd7169.zip
external_svox-e9f72c8954f29f10cb4feb16d328a1b5c1fd7169.tar.gz
external_svox-e9f72c8954f29f10cb4feb16d328a1b5c1fd7169.tar.bz2
Patch from SVOX: 1.1.0.2 Engine Release
Issues fixed since 1.1.0.0: - closing tags not interpreted in some cases where enclosed text contains a smaller-then sign - Discontinuities in energy transformation - Lexicon Access: entry with empty phonetic transcription mistaken as :G2P in seldom cases
Diffstat (limited to 'pico/lib/picosa.c')
-rw-r--r--pico/lib/picosa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pico/lib/picosa.c b/pico/lib/picosa.c
index ab48713..8c58aa4 100644
--- a/pico/lib/picosa.c
+++ b/pico/lib/picosa.c
@@ -242,7 +242,7 @@ typedef struct sa_subobj {
} sa_subobj_t;
-static pico_status_t saInitialize(register picodata_ProcessingUnit this, picoos_int32 r_mode) {
+static pico_status_t saInitialize(register picodata_ProcessingUnit this, picoos_int32 resetMode) {
sa_subobj_t * sa;
picoos_uint16 i;
picokfst_FST fst;
@@ -294,7 +294,7 @@ static pico_status_t saInitialize(register picodata_ProcessingUnit this, picoos_
sa->phonWritePos = 0;
sa->nextReadPos = 0;
- if (r_mode == PICO_RESET_SOFT) {
+ if (resetMode == PICO_RESET_SOFT) {
/*following initializations needed only at startup or after a full reset*/
return PICO_OK;
}