mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-05 06:45:39 +00:00
SpeechSynthesis: test for and prevent duplicate voice entries
This commit is contained in:
@@ -123,6 +123,8 @@ public class SpeechSynthesis {
|
||||
if (name.equals("fa-pin")) {
|
||||
// Android locales do not support scripts, so fa-Latn is not possible for Farsi Pinglish:
|
||||
locale = null;
|
||||
} else if (identifier.equals("asia/fa-en-us")) {
|
||||
locale = null;
|
||||
} else if (name.equals("om")) {
|
||||
// This is an experimental voice that is not currently well tested to be used.
|
||||
locale = null;
|
||||
|
||||
Reference in New Issue
Block a user