[1.25.3] espeak_SetVoiceByName() didn't set current_voice correctly when voice is specified by filename.

Added ResetLetterBits() to clear data before using SetLetterBits().


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@19 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
jonsd
2007-05-22 01:47:55 +00:00
parent 8a6e17ac7c
commit e40539b00b
14 changed files with 60 additions and 19 deletions
+1 -1
View File
@@ -653,7 +653,7 @@ static void SmoothSpect(void)
modified = 0;
if(frame->frflags & FRFLAG_FORMANT_RATE)
len = (len * 13)/10; // allow slightly greater rate of change for this frame (was 12/10)
len = (len * 12)/10; // allow slightly greater rate of change for this frame (was 12/10)
for(pk=0; pk<6; pk++)
{