mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-02 06:01:53 +00:00
VoiceVariant.java: Use MALE and FEMALE string constants.
This commit is contained in:
@@ -66,9 +66,9 @@ public class TtsSettingsActivity extends PreferenceActivity {
|
||||
if (variant == null) {
|
||||
String gender = prefs.getString("default_gender", "0");
|
||||
if (gender.equals("2")) {
|
||||
editor.putString("espeak_variant", "female");
|
||||
editor.putString("espeak_variant", VoiceVariant.FEMALE);
|
||||
} else {
|
||||
editor.putString("espeak_variant", "male");
|
||||
editor.putString("espeak_variant", VoiceVariant.MALE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user