Use TalkingQ domain for audio downloads
This commit is contained in:
@@ -36,7 +36,7 @@ const char *mp3_file[] ={
|
|||||||
"ai_active_zh.mp3",//18
|
"ai_active_zh.mp3",//18
|
||||||
};
|
};
|
||||||
|
|
||||||
//http://175.24.73.253/assets/roles/zhuli/zh/tts_error.mp3
|
//http://banban.api.talkingq.com:8080/assets/roles/banban/tts_error.mp3
|
||||||
|
|
||||||
//#define PCM_FILE "http://47.113.99.138:7050/output_16k.pcm"
|
//#define PCM_FILE "http://47.113.99.138:7050/output_16k.pcm"
|
||||||
|
|
||||||
@@ -194,7 +194,7 @@ void app_file_check_download(void)
|
|||||||
if(ql_access(filename_buff, 0)!=0){
|
if(ql_access(filename_buff, 0)!=0){
|
||||||
printf("downing mp3 file %d,%s\r\n", index,filename_buff);
|
printf("downing mp3 file %d,%s\r\n", index,filename_buff);
|
||||||
down_loop:
|
down_loop:
|
||||||
sprintf(url_buff, "http://101.35.224.118:8080/assets/roles/banban/%s", mp3_file[index]);
|
sprintf(url_buff, "http://banban.api.talkingq.com:8080/assets/roles/banban/%s", mp3_file[index]);
|
||||||
|
|
||||||
ret = http_file_download(url_buff);
|
ret = http_file_download(url_buff);
|
||||||
if(ret!=0&&cnt++<3) goto down_loop;
|
if(ret!=0&&cnt++<3) goto down_loop;
|
||||||
|
|||||||
Reference in New Issue
Block a user