X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=altosui%2FAltosVoice.java;h=f84c11220393ba7ad7fcff1a7ec2f248a19c46b0;hb=altosui-ms5611;hp=ac13ee14e81176c69d46587392340c3a8018ba62;hpb=51c7741040d95c5deece939dae5e4136cc04afc4;p=fw%2Faltos diff --git a/altosui/AltosVoice.java b/altosui/AltosVoice.java index ac13ee14..f84c1122 100644 --- a/altosui/AltosVoice.java +++ b/altosui/AltosVoice.java @@ -19,7 +19,6 @@ package altosui; import com.sun.speech.freetts.Voice; import com.sun.speech.freetts.VoiceManager; -import com.sun.speech.freetts.audio.JavaClipAudioPlayer; import java.util.concurrent.LinkedBlockingQueue; public class AltosVoice implements Runnable { @@ -65,7 +64,7 @@ public class AltosVoice implements Runnable { } public void speak(String s) { - if (AltosPreferences.voice()) + if (AltosUIPreferences.voice()) speak_always(s); }