summaryrefslogtreecommitdiffstats
path: root/tools/configure
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-10 20:40:36 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-11 01:33:04 +0000
commit185d2bbb6a967ad5fb72363677c9b14d1011c949 (patch)
tree769e3e4294e82711f5a1304ba08ef335e92a6e34 /tools/configure
parent938d82035530dde86ff607f4fe99194f1efe6c90 (diff)
downloadrockbox-185d2bbb6a967ad5fb72363677c9b14d1011c949.tar.gz
rockbox-185d2bbb6a967ad5fb72363677c9b14d1011c949.tar.bz2
rockbox-185d2bbb6a967ad5fb72363677c9b14d1011c949.zip
voice: More voice generation fixes:
* espeak vs espeak-ng (prefer the latter!) * voicepool was busted for most non-english strings Change-Id: Iae6df0f5426155b7b1f444160814ff9ef4581f21
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/configure b/tools/configure
index 9069c84e3b..aab3e59dfb 100755
--- a/tools/configure
+++ b/tools/configure
@@ -1283,6 +1283,10 @@ voiceconfig () {
advopts="$advopts --voice=$CHOICE"
echo "Mimic voice set to $TTS_MIMIC_VOICE"
TTS_OPTS="$TTS_OPTS -voice $TTS_MIMIC_VOICE"
+ elif [ "$TTS_ENGINE" = "espeak" ] ; then
+ if [ -n "`findtool espeak-ng`" ] ; then
+ TTS_ENGINE="espeak-ng"
+ fi
fi
# Read custom tts options from command line