[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:
jonsd
2007-11-26 09:55:02 +00:00
parent 40c466b36e
commit b1a45dcdf5
6 changed files with 20 additions and 9 deletions
+2 -1
View File
@@ -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().