comparison src/com/five_ten_sg/connectbot/monitor/MonitorService.java @ 7:992dca085fa2

allow async tts
author Carl Byington <carl@five-ten-sg.com>
date Mon, 23 Jun 2014 17:14:44 -0700
parents 31979440706a
children 5bf6d84cc5b8
comparison
equal deleted inserted replaced
6:31979440706a 7:992dca085fa2
410 arg[4] = (char) (len & 0x0000ffff); 410 arg[4] = (char) (len & 0x0000ffff);
411 cm.clientWrite(MONITOR_CMD_GETFIELD, arg); 411 cm.clientWrite(MONITOR_CMD_GETFIELD, arg);
412 } 412 }
413 } 413 }
414 414
415 public static void teSpeak(int connection, String msg, boolean flush, boolean synchronous) { 415 public static void teSpeak(int connection, byte [] msg, boolean flush, boolean synchronous) {
416 CommunicationThread cm = clients.get(connection); 416 CommunicationThread cm = clients.get(connection);
417 if (cm != null) cm.speak(msg, flush, synchronous); 417 if (cm != null) cm.speak(msg, flush, synchronous);
418 } 418 }
419 419
420 public static void teDepress(int connection, int vk_key) { 420 public static void teDepress(int connection, int vk_key) {