Jelajahi Sumber

重复10次13

TitanWong 1 tahun lalu
induk
melakukan
3e0e25e810

+ 3 - 3
src/main/java/com/zhili/stationcontrol/tts/service/impl/MusicServiceImpl.java

@@ -25,11 +25,11 @@ public class MusicServiceImpl implements MusicService {
     Process p;
     String cmd;
     //1:开始命令到达,0:无开始命令
-    Boolean startCmd;
+    Boolean startCmd=false;
     //1:结束命令到达,0:无结束命令
-    Boolean endCmd;
+    Boolean endCmd=false;
     //1:重复播放,0:不重复
-    Boolean repeat;
+    Boolean repeat=false;
 
     @Override
     public Integer start(String path, Integer vol) {