From f58f665336772e9bc161a19442074c76d2b5f8ba Mon Sep 17 00:00:00 2001 From: "Reece H. Dunn" Date: Wed, 4 Sep 2019 19:35:25 +0100 Subject: [PATCH] Support a maximum of 275 voices/languages. The new voices added take the voice list over 250 voices/languages. --- src/libespeak-ng/voices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libespeak-ng/voices.c b/src/libespeak-ng/voices.c index 3eca48f7..c97d63c7 100644 --- a/src/libespeak-ng/voices.c +++ b/src/libespeak-ng/voices.c @@ -62,7 +62,7 @@ static int formant_rate_22050[9] = { 240, 170, 170, 170, 170, 170, 170, 170, 170 int formant_rate[9]; // values adjusted for actual sample rate #define DEFAULT_LANGUAGE_PRIORITY 5 -#define N_VOICES_LIST 250 +#define N_VOICES_LIST 275 static int n_voices_list = 0; static espeak_VOICE *voices_list[N_VOICES_LIST];