changeset 5:d1f095e4f8f0

allow async tts
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Jun 2014 17:11:52 -0700
parents 46a9cdf018a1
children 31979440706a
files src/com/five_ten_sg/connectbot/monitor/MonitorService.java
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/monitor/MonitorService.java	Mon Jun 23 17:09:52 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/monitor/MonitorService.java	Mon Jun 23 17:11:52 2014 -0700
@@ -5,6 +5,7 @@
 import java.io.OutputStream;
 import java.net.ServerSocket;
 import java.net.Socket;
+import java.util.HashMap;
 import java.util.concurrent.ArrayBlockingQueue;
 import java.util.concurrent.BlockingQueue;
 import java.util.concurrent.ConcurrentHashMap;
@@ -48,6 +49,7 @@
 
     private boolean               speech  = false;
     private TextToSpeech          talker  = null;
+    private BlockingQueue<String> talkerQueue = null;
     public  Handler               handler = null;
     private ServerSocket          serverSocket;
     private Thread                serverThread = null;