summaryrefslogtreecommitdiff
path: root/tools/voice.pl
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-06-20 20:51:40 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-06-20 21:00:48 -0400
commit80cd79992540f33479f272cd4024d97e554b4220 (patch)
treed90eec2abff6bf3c36785aa58433f1cff59b8de7 /tools/voice.pl
parentf58c15440f977b0c49145d8bc8226679b5f888dd (diff)
downloadrockbox-80cd79992540f33479f272cd4024d97e554b4220.tar.gz
rockbox-80cd79992540f33479f272cd4024d97e554b4220.zip
voice: If $POOL is not set, use <build-dir>/voice-pool by default
It will _vastly_ speed up repeated voice builds. The voice pool directory will not be erased by a 'make clean' Change-Id: Ice58d5c5355abfa5a385dfca749f8063e2ee8622
Diffstat (limited to 'tools/voice.pl')
-rwxr-xr-xtools/voice.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/voice.pl b/tools/voice.pl
index c62e4c164a..0e58bad503 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -666,9 +666,9 @@ if ($V == 1) {
666 $SIG{INT} = \&panic_cleanup; 666 $SIG{INT} = \&panic_cleanup;
667 $SIG{KILL} = \&panic_cleanup; 667 $SIG{KILL} = \&panic_cleanup;
668 668
669 printf("Generating voice\n Target: %s\n Language: %s\n Encoder (options): %s (%s)\n TTS Engine (options): %s (%s)\n", 669 printf("Generating voice\n Target: %s\n Language: %s\n Encoder (options): %s (%s)\n TTS Engine (options): %s (%s)\n Pool directory: %s\n",
670 defined($t) ? $t : "unknown", 670 defined($t) ? $t : "unknown",
671 $l, $e, $E, $s, $S); 671 $l, $e, $E, $s, $S, defined($ENV{'POOL'}) ? $ENV{'POOL'} : "<none>");
672 generateclips($l, $t, $e, $E, $tts_object, $S, $f); 672 generateclips($l, $t, $e, $E, $tts_object, $S, $f);
673 shutdown_tts($tts_object); 673 shutdown_tts($tts_object);
674 createvoice($l, $i, $f); 674 createvoice($l, $i, $f);