|
|
@@ -1600,11 +1600,11 @@ ESPEAK_API const espeak_VOICE **espeak_ListVoices(espeak_VOICE *voice_spec) |
|
|
|
// select the voices which match the voice_spec, and sort them by preference |
|
|
|
SetVoiceScores(voice_spec, voices, 1); |
|
|
|
} else { |
|
|
|
// list all: omit variant voices and mbrola voices and test voices |
|
|
|
// list all: omit variant and mbrola voices |
|
|
|
j = 0; |
|
|
|
for (ix = 0; (v = voices_list[ix]) != NULL; ix++) { |
|
|
|
if ((v->languages[0] != 0) && (strcmp(&v->languages[1], "variant") != 0) |
|
|
|
&& (memcmp(v->identifier, "mb/", 3) != 0) && (memcmp(v->identifier, "test/", 5) != 0)) |
|
|
|
&& (memcmp(v->identifier, "mb/", 3) != 0)) |
|
|
|
voices[j++] = v; |
|
|
|
} |
|
|
|
voices[j] = NULL; |