voice: when building from vstrings targetid needs to come from within

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit fcb2289274257afa17406caf686d34ac4bb675f1
Author: Solomon Peachy <[email protected]>
Date:   Thu Jan 15 09:20:06 2026 -0500

    voice:  when building from vstrings targetid needs to come from within
    
    Change-Id: I2a1c6a249523ec7a1d339e7b08f1686dad1d0270

diff --git a/tools/voice.pl b/tools/voice.pl
index 604d582dc9..4d947fccbc 100755
--- a/tools/voice.pl
+++ b/tools/voice.pl
@@ -715,6 +715,8 @@ sub generatevstringclips {
     close(VOICEFONTIDS);
 
     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",
            defined($t) ? $t : "unknown",
            $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);
     createvoice($l, $i, $f);
     deleteencs();
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.