[1.46.47]

Fix bug in SAPI5 version: speed suddenly changes to very slow when speaking a word which contains foreign characters.
Language changes: da, fa, hu, pt, ur.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@313 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2013-03-13 15:35:29 +00:00
parent 8238f8b09b
commit 790c9a1754
24 changed files with 9490 additions and 7771 deletions
+2 -1
View File
@@ -586,6 +586,7 @@ int TranslateLetter(Translator *tr, char *word, char *phonemes, int control)
// return number of bytes used by the letter
// control bit 0: a non-initial letter in a word
// bit 1: say 'capital'
// bit 2: say character code for unknown letters
int n_bytes;
int letter;
@@ -743,7 +744,7 @@ int TranslateLetter(Translator *tr, char *word, char *phonemes, int control)
}
}
if(!(control & 2) && (al_flags & AL_NOT_CODE))
if(!(control & 4) && (al_flags & AL_NOT_CODE))
{
// don't speak the character code number, unless we want full details of this character
speak_letter_number = 0;