Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
javaexception committed Aug 30, 2017
1 parent 5bb5854 commit 270a7cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ public void onClick(View v) {
}

private synchronized void Play(final String str) {
System.out.println("aDASDASDASDAD "+VoiceUtils.with(this).GetIsPlay());

if (VoiceUtils.with(this).GetIsPlay()){
System.out.println("正在播放语音 ");
new Thread() {
@Override
public void run() {
super.run();
try {
Thread.sleep(100);//休眠3秒
Thread.sleep(100);//休眠0.1秒
Play(str);
} catch (InterruptedException e) {
e.printStackTrace();
Expand Down

0 comments on commit 270a7cc

Please sign in to comment.