From df9a166392f80dd15e8afc535323a29bfd53f52d Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Tue, 4 Sep 2007 22:03:05 +0000 Subject: Voice file building: * Make correct_string() work as intended by passing the missing 2 parameters. * SAPI: Add query for TTS engine vendor. * Add several string corrections (mostly but not exclusively for German). * Make the pool filenames include TTS options and encoder options in their MD5 hash value, allowing to properly build voice files where those settings differ per target using the same pool. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14608 a1c6a512-1295-4272-9138-f99709370657 --- tools/sapi_voice.vbs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tools/sapi_voice.vbs') diff --git a/tools/sapi_voice.vbs b/tools/sapi_voice.vbs index 848db94df2..f92c3f92fa 100755 --- a/tools/sapi_voice.vbs +++ b/tools/sapi_voice.vbs @@ -139,6 +139,15 @@ Do WScript.Quit 1 End If Select Case aLine(0) ' command + Case "QUERY" + Select Case aLine(1) + Case "VENDOR" + If bSAPI4 Then + WScript.StdOut.WriteLine oTTS.MfgName(nMode) + Else + WScript.StdOut.WriteLine oSpVoice.Voice.GetAttribute("Vendor") + End If + End Select Case "SPEAK" aData = Split(aLine(1), vbTab, 2) aData(1) = UTF8decode(aData(1)) -- cgit v1.2.3