[1.31.14]

SSML: <voice>, if a language is specified, forget previously selected voice name.
Voice selection, convert language name to lower-case.
espeak-data/mbrola_ph files, allow use by both little and big-endian processors.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@149 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2008-02-22 13:59:25 +00:00
parent 28943f9000
commit 19db296d78
8 changed files with 49 additions and 20 deletions
+5 -1
View File
@@ -1711,7 +1711,7 @@ int SubstituteChar(Translator *tr, unsigned int c, unsigned int next_in, int *in
new_c = replace_chars[ix+1];
break;
}
if((word >> 16) == (unsigned int)tolower(next_in))
if((word >> 16) == (unsigned int)towlower(next_in))
{
new_c = replace_chars[ix+1];
ignore_next = 1;
@@ -2393,6 +2393,10 @@ if((c == '/') && (langopts.testing & 2) && IsDigit09(next_in) && IsAlpha(prev_ou
}
n_ph_list2 += 2;
if(count_words == 0)
{
clause_pause = 0;
}
if(Eof() && ((word_count == 0) || (option_endpause==0)))
{
clause_pause = 10;