From 75b236dbf8047f5e5999611b4f32197bd147dd21 Mon Sep 17 00:00:00 2001 From: tateisu Date: Wed, 21 Jun 2017 15:00:44 +0900 Subject: [PATCH] =?UTF-8?q?=E8=AA=AD=E3=81=BF=E4=B8=8A=E3=81=92=E3=82=AD?= =?UTF-8?q?=E3=83=A5=E3=83=BC=E3=81=8C30=E3=82=88=E3=82=8A=E5=A4=9A?= =?UTF-8?q?=E3=81=8F=E3=81=AA=E3=82=89=E3=81=AA=E3=81=84=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/jp/juggler/subwaytooter/AppState.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/jp/juggler/subwaytooter/AppState.java b/app/src/main/java/jp/juggler/subwaytooter/AppState.java index 7729687d..e3b68f05 100644 --- a/app/src/main/java/jp/juggler/subwaytooter/AppState.java +++ b/app/src/main/java/jp/juggler/subwaytooter/AppState.java @@ -262,6 +262,8 @@ class AppState { } tts_queue.add( sv ); + if( tts_queue.size() > 30 ) tts_queue.removeFirst(); + flushSpeechQueue(); }