mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-10-31 13:38:47 +00:00
[1.45.45]
Fixed bug where SSML voice change didn't remember an initially specified Klatt variant. Removed some unused variables and redundant initializations. Patch to fix a spike from Klatt function setzeroabc() git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@275 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-9
@@ -35,7 +35,7 @@
|
||||
#include "translate.h"
|
||||
#include "wave.h"
|
||||
|
||||
const char *version_string = "1.45.43 16.Sep.11";
|
||||
const char *version_string = "1.45.45 07.Oct.11";
|
||||
const int version_phdata = 0x014500;
|
||||
|
||||
int option_device_number = -1;
|
||||
@@ -644,13 +644,6 @@ static bool InterpretCondition(Translator *tr, int control, PHONEME_LIST *plist,
|
||||
if(plist[0].sourceix)
|
||||
return(false);
|
||||
}
|
||||
// if(which==7)
|
||||
// {
|
||||
// // nextPh2 not word boundary
|
||||
// if((plist[1].sourceix) || (plist[2].sourceix))
|
||||
// return(false);
|
||||
// }
|
||||
|
||||
if(which==6)
|
||||
{
|
||||
// nextVowel, not word boundary
|
||||
@@ -686,7 +679,7 @@ static bool InterpretCondition(Translator *tr, int control, PHONEME_LIST *plist,
|
||||
}
|
||||
ph = plist->ph;
|
||||
|
||||
if(instn2 < 8)
|
||||
if(instn2 < 7)
|
||||
{
|
||||
// 'data' is a phoneme number
|
||||
if((phoneme_tab[data]->mnemonic == ph->mnemonic) == true)
|
||||
|
||||
Reference in New Issue
Block a user