Implement espeak_SetVoiceByProperties directly from the SetVoiceByProperties implementation.

This commit is contained in:
Reece H. Dunn
2015-12-29 17:24:59 +00:00
parent 9ab5fad596
commit bc288a04f4
6 changed files with 5 additions and 12 deletions
+1 -1
View File
@@ -669,7 +669,7 @@ int main(int argc, char **argv)
if (espeak_SetVoiceByName(voicename) != EE_OK) {
memset(&voice_select, 0, sizeof(voice_select));
voice_select.languages = voicename;
if (SetVoiceByProperties(&voice_select) != EE_OK) {
if (espeak_SetVoiceByProperties(&voice_select) != EE_OK) {
fprintf(stderr, "%svoice '%s'\n", err_load, voicename);
exit(2);
}