Bladeren bron

重复10次13

TitanWong 1 jaar geleden
bovenliggende
commit
3e0e25e810
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      src/main/java/com/zhili/stationcontrol/tts/service/impl/MusicServiceImpl.java

+ 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) {