1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Solomon Peachy 2024-06-20 20:51:40 -04:00
parent f58c15440f
commit 80cd799925
3 changed files with 9 additions and 2 deletions

View file

@ -666,9 +666,9 @@ if ($V == 1) {
$SIG{INT} = \&panic_cleanup;
$SIG{KILL} = \&panic_cleanup;
printf("Generating voice\n Target: %s\n Language: %s\n Encoder (options): %s (%s)\n TTS Engine (options): %s (%s)\n",
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",
defined($t) ? $t : "unknown",
$l, $e, $E, $s, $S);
$l, $e, $E, $s, $S, defined($ENV{'POOL'}) ? $ENV{'POOL'} : "<none>");
generateclips($l, $t, $e, $E, $tts_object, $S, $f);
shutdown_tts($tts_object);
createvoice($l, $i, $f);