mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-03 22:26:48 +00:00
[1.29.22] Remember voice variant over <speak> </speak> tags.
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@108 d46cf337-b52f-0410-862d-fd96e6ae7743
This commit is contained in:
+2
-1
@@ -1485,7 +1485,8 @@ espeak_ERROR SetVoiceByName(const char *name)
|
||||
variant_name = ExtractVoiceVariantName(buf,0);
|
||||
|
||||
memset(&voice_selector,0,sizeof(voice_selector));
|
||||
voice_selector.name = buf;
|
||||
// voice_selector.name = buf;
|
||||
voice_selector.name = name; // include variant name in voice stack ??
|
||||
|
||||
// first check for a voice with this filename
|
||||
// This may avoid the need to call espeak_ListVoices().
|
||||
|
||||
Reference in New Issue
Block a user