mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 21:39:47 +00:00
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:
+2
-2
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user