Author: randy Date: 2005-10-18 12:05:28 -0600 (Tue, 18 Oct 2005) New Revision: 1203
Added: trunk/gnome-speech/ trunk/gnome-speech/gnome-speech-0.3.8-freetts_fix-1.patch Log: Added GNOME Speech FreeTTS patch Added: trunk/gnome-speech/gnome-speech-0.3.8-freetts_fix-1.patch =================================================================== --- trunk/gnome-speech/gnome-speech-0.3.8-freetts_fix-1.patch 2005-10-18 07:15:47 UTC (rev 1202) +++ trunk/gnome-speech/gnome-speech-0.3.8-freetts_fix-1.patch 2005-10-18 18:05:28 UTC (rev 1203) @@ -0,0 +1,32 @@ +Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org> +Date: 2005-10-18 +Initial Package Version: 0.3.8 +Upstream Status: Committed to GNOME CVS +Origin: Will Walker + (http://bugzilla.gnome.org/attachment.cgi?id=53616&action=view) +Description: Fixes http://bugzilla.gnome.org/show_bug.cgi?id=319168 + Allows GNOME Speech to use the streaming audio method in + the FreeTTS driver + + +diff -Naur gnome-speech-0.3.8-orig/drivers/freetts/java/org/GNOME/Speech/FreeTTSSynthesisDriver.java gnome-speech-0.3.8/drivers/freetts/java/org/GNOME/Speech/FreeTTSSynthesisDriver.java +--- gnome-speech-0.3.8-orig/drivers/freetts/java/org/GNOME/Speech/FreeTTSSynthesisDriver.java 2005-09-29 14:40:31.000000000 +0000 ++++ gnome-speech-0.3.8/drivers/freetts/java/org/GNOME/Speech/FreeTTSSynthesisDriver.java 2005-10-18 16:07:16.000000000 +0000 +@@ -200,7 +200,7 @@ + num_voices = voices.length; + for (i = 0; i < num_voices; i++) + { +- if (voices[i].getDomain () != "general") ++ if (!(voices[i].getDomain ()).equals("general")) + continue; + vi = getVoiceInfo (voices[i]); + if (voice_spec.name.length () != 0 && !voice_spec.name.equals(vi.name)) +@@ -210,7 +210,7 @@ + + if (!voices[i].isLoaded ()) + { +- if (System.getProperty("ft_audio_player") == "streaming") ++ if (System.getProperty("ft_audio_player").equals("streaming")) + voices[i].setAudioPlayer (new JavaStreamingAudioPlayer()); + else + voices[i].setAudioPlayer (new JavaClipAudioPlayer()); -- http://linuxfromscratch.org/mailman/listinfo/patches FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
