mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-03 14:17:12 +00:00
[1.45.37]
Keep the original voice variant across SSML xml:lang changes. Use the original language sub-type (eg. en-sc) when SSML xml:lang changes to a compatible language. SSML <emphasis>, increase volume for "strong" and "x-strong". Fix bug where </emphasis> was ignored at end of clause. Fix: $dot attribute was ignored for multi-word entries in *_list files. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@269 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-3
@@ -47,7 +47,6 @@
|
||||
#include "wave.h"
|
||||
|
||||
unsigned char *outbuf=NULL;
|
||||
extern espeak_VOICE voice_selected;
|
||||
|
||||
espeak_EVENT *event_list=NULL;
|
||||
int event_list_ix=0;
|
||||
@@ -391,8 +390,8 @@ static int initialise(int control)
|
||||
fprintf(stderr,"Wrong version of espeak-data 0x%x (expects 0x%x) at %s\n",result,version_phdata,path_home);
|
||||
}
|
||||
|
||||
memset(&voice_selected,0,sizeof(voice_selected));
|
||||
SetVoiceStack(NULL);
|
||||
memset(¤t_voice_selected,0,sizeof(current_voice_selected));
|
||||
SetVoiceStack(NULL, "");
|
||||
SynthesizeInit();
|
||||
InitNamedata();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user