This commit is contained in:
Yutousama 2021-02-22 23:05:46 +08:00
parent 52e5072f9e
commit f93ae1e20e
2 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication @SpringBootApplication
public class ToolsApplication { public class ToolsApplication {
public static final String version="1.0.16.13"; public static final String version="1.0.17";
public static void main(String[] args) { public static void main(String[] args) {
System.out.println("当前版本号:"+version); System.out.println("当前版本号:"+version);

View File

@ -11,6 +11,8 @@ public class AudioTools {
} }
SpeechUtility.createUtility(SpeechConstant.APPID + "=601f7f7d"); SpeechUtility.createUtility(SpeechConstant.APPID + "=601f7f7d");
SpeechUtility.getUtility().setParameter(SpeechConstant.VOLUME,"100"); SpeechUtility.getUtility().setParameter(SpeechConstant.VOLUME,"100");
SpeechUtility.getUtility().setParameter(SpeechConstant.LIB_NAME_64,"/media/yutou/4t/public/servier/tools/");
SpeechUtility.getUtility().setParameter(SpeechConstant.LIB_NAME_32,"/media/yutou/4t/public/servier/tools/");
init = true; init = true;
System.out.println("讯飞语音已初始化"); System.out.println("讯飞语音已初始化");
} }