code cleanup: new file langopts.c for handling language options.

The switch case in LoadVoice() currently mixes voice and language
options. This change will start separating them into two functions.

CheckTranslator will be moved to langopts.c. In the future there should
be no need to use it in voices.c. There will be other temporary
solutions also.
This commit is contained in:
Juho Hiltunen
2022-10-09 16:38:52 +03:00
parent e23f68f56a
commit 4a2890250b
7 changed files with 132 additions and 11 deletions
+1
View File
@@ -30,6 +30,7 @@ ESPEAK_SOURCES := \
src/libespeak-ng/ieee80.c \
src/libespeak-ng/intonation.c \
src/libespeak-ng/klatt.c \
src/libespeak-ng/langopts.c \
src/libespeak-ng/mnemonics.c \
src/libespeak-ng/numbers.c \
src/libespeak-ng/phoneme.c \