mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
[1.26.02] SelectVoice(), make voice_variants[] static.
lang=de many translation improvements. TranslateWord(), check that a prefix rule is still allowed after a suffix has been removed. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@43 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+3
-3
@@ -689,7 +689,7 @@ void copy_rule_string(char *string, int &state)
|
||||
case '$': // obsolete, replaced by S
|
||||
case 'S':
|
||||
output[ix++] = RULE_ENDING;
|
||||
value = 0x80;
|
||||
value = 0;
|
||||
while(!isspace2(c = *p++) && (c != 0))
|
||||
{
|
||||
switch(c)
|
||||
@@ -720,14 +720,14 @@ void copy_rule_string(char *string, int &state)
|
||||
break;
|
||||
default:
|
||||
if(isdigit(c))
|
||||
value = (c - '0') + 0x80;
|
||||
value = (value*10) + (c - '0');
|
||||
break;
|
||||
}
|
||||
}
|
||||
p--;
|
||||
output[ix++] = sxflags >> 16;
|
||||
output[ix++] = sxflags >> 8;
|
||||
c = value;
|
||||
c = value | 0x80;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user