|
@@ -197,14 +197,15 @@ static dispatch_once_t onceToken;
|
|
|
注意:每次检测时将使用所入参的一句文本请求服务器,如果后端合成成功将会额外消耗该句字数的合成额度
|
|
|
*/
|
|
|
_checkTimeout = 300;
|
|
|
-
|
|
|
+// JSJP_APP_VOICE_SET
|
|
|
@try {
|
|
|
- NSDictionary *dict = @{
|
|
|
- @"onlineSpeed":@"0",//设置合成声音速度0默认 1正常 1.2倍
|
|
|
- @"onlineVoiceType":@"1001",//设置合成声音类型
|
|
|
- @"onlineLanguage":@"1",//设置合成语种-1中文 2英文
|
|
|
- @"onlineVolume":@"0",//设置合成声音大小默认值为0
|
|
|
- };
|
|
|
+// NSDictionary *dict = @{
|
|
|
+// @"onlineSpeed":@"0",//设置合成声音速度0默认 1正常 1.2倍
|
|
|
+// @"onlineVoiceType":@"1001",//设置合成声音类型
|
|
|
+// @"onlineLanguage":@"1",//设置合成语种-1中文 2英文
|
|
|
+// @"onlineVolume":@"0",//设置合成声音大小默认值为0
|
|
|
+// };
|
|
|
+ NSDictionary *dict = RQ_COMMON_MANAGER.JSJP_APP_VOICE_SET;
|
|
|
if(dict){ //读取服务器配置
|
|
|
_onlineSpeed = [dict[@"onlineSpeed"] floatValue];
|
|
|
_onlineVoiceType = [dict[@"onlineVoiceType"] intValue];
|