[1.29.20] Fix for crash in Chinese text.

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@104 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-11-13 02:28:05 +00:00
parent f9725f9f64
commit e87bb29b27
11 changed files with 27 additions and 17 deletions
+2 -1
View File
@@ -521,6 +521,7 @@ void MbrolaTranslate(PHONEME_LIST *plist, int n_phonemes, FILE *f_mbrola)
#else
// fprintf(f_mbrola,";; v=%.2f\n",(float)(mbrola_control & 0xff)/16.0); // ;; v= has no effect on mbrola
#endif
for(phix=1; phix < n_phonemes; phix++)
{
mbr_buf[0] = 0;
@@ -674,7 +675,7 @@ void MbrolaTranslate(PHONEME_LIST *plist, int n_phonemes, FILE *f_mbrola)
#ifdef USE_MBROLA_LIB
MbrolaSynth(NULL);
#endif
} // end of SynthMbrola
} // end of MbrolaTranslate
#ifdef TEST_MBROLA