mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-01 21:58:52 +00:00
[1.25.11] Fix problem with temporary language change when using a voice-variant.
lang=hu Merge "nem" with next word. lang=ro Many additions to ro_list. Change phoneme [o]. lang=af Update phoneme [R], which also appears as [R3] in general consonants. git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@27 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+5
-2
@@ -575,8 +575,11 @@ voice_t *LoadVoice(char *vname, int control)
|
||||
strcpy(phonemes_name,language_type);
|
||||
|
||||
|
||||
if((v = VoiceLookup(voicename)) != NULL)
|
||||
voice = v;
|
||||
if(!tone_only)
|
||||
{
|
||||
if((v = VoiceLookup(voicename)) != NULL)
|
||||
voice = v;
|
||||
}
|
||||
VoiceReset(tone_only);
|
||||
|
||||
if(!tone_only)
|
||||
|
||||
Reference in New Issue
Block a user