mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 15:24:02 +00:00
[1.30.02] Fix bug in LoadVoice() for "intonation" attribute in voice files (in 1.30.01 only).
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@116 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@
|
||||
#include "translate.h"
|
||||
#include "wave.h"
|
||||
|
||||
const char *version_string = "1.30.01 02.Jan.08";
|
||||
const char *version_string = "1.30.02 02.Jan.08";
|
||||
const int version_phdata = 0x013000;
|
||||
|
||||
int option_device_number = -1;
|
||||
|
||||
+1
-1
@@ -725,7 +725,7 @@ voice_t *LoadVoice(const char *vname, int control)
|
||||
case V_INTONATION: // intonation
|
||||
sscanf(p,"%d %d",&option_tone_flags,&option_tone2);
|
||||
if((option_tone_flags & 0xff) != 0)
|
||||
translator->langopts.intonation_group = option_tone_flags & 0xff;
|
||||
langopts->intonation_group = option_tone_flags & 0xff;
|
||||
break;
|
||||
|
||||
case V_DICTRULES: // conditional dictionary rules and list entries
|
||||
|
||||
Reference in New Issue
Block a user