mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
voice: when building from vstrings targetid needs to come from within
Change-Id: I2a1c6a249523ec7a1d339e7b08f1686dad1d0270
This commit is contained in:
parent
dd0d9549ab
commit
fcb2289274
1 changed files with 3 additions and 1 deletions
|
|
@ -715,6 +715,8 @@ sub generatevstringclips {
|
||||||
close(VOICEFONTIDS);
|
close(VOICEFONTIDS);
|
||||||
|
|
||||||
print("\n");
|
print("\n");
|
||||||
|
|
||||||
|
return $targetid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -867,7 +869,7 @@ if (defined($B) && $B) {
|
||||||
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",
|
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",
|
defined($t) ? $t : "unknown",
|
||||||
$l, $e, $E, $s, "$S $tts_object->{ttsoptions}", defined($ENV{'POOL'}) ? $ENV{'POOL'} : "<none>");
|
$l, $e, $E, $s, "$S $tts_object->{ttsoptions}", defined($ENV{'POOL'}) ? $ENV{'POOL'} : "<none>");
|
||||||
generatevstringclips($l, $t, $e, $E, $tts_object, $S, $B);
|
$i = generatevstringclips($l, $t, $e, $E, $tts_object, $S, $B);
|
||||||
shutdown_tts($tts_object);
|
shutdown_tts($tts_object);
|
||||||
createvoice($l, $i, $f);
|
createvoice($l, $i, $f);
|
||||||
deleteencs();
|
deleteencs();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue