Fixes for Klatt synthesizer

git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@234 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2009-12-16 00:03:31 +00:00
parent b2cbee1f9e
commit dd1623232f
10 changed files with 144 additions and 114 deletions
+2 -2
View File
@@ -890,7 +890,7 @@ int Compile::LoadWavefile(FILE *f, const char *fname)
c2 = c3 << 24;
c2 = c2 >> 16; // sign extend
sample = (c1 & 0xff) + c2;;
sample = (c1 & 0xff) + c2;
if(sample > max)
max = sample;
@@ -2210,7 +2210,7 @@ wxString CompileAllDictionaries()
if(f_phused != NULL)
fclose(f_phused);
LoadVoice(save_voice_name,1);
LoadVoiceVariant(save_voice_name,0);
if(errors == 0)
return(wxString::Format(_T(" Compiled %d dictionaries"),dict_count));