From: 孙春阳 Date: Tue, 5 Aug 2025 04:33:04 +0000 (+0800) Subject: 删除不用的文件 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=b3b5cdb65c90df0038a10ade0f25cb257b18c5c7;p=mirrors%2FFD230.git 删除不用的文件 --- diff --git a/code/sdk/drivers/peripheral/slip/cat1Service/cat1_ai_server/cat1_ai_server.cpp b/code/sdk/drivers/peripheral/slip/cat1Service/cat1_ai_server/cat1_ai_server.cpp deleted file mode 100644 index 53c8b6c70..000000000 --- a/code/sdk/drivers/peripheral/slip/cat1Service/cat1_ai_server/cat1_ai_server.cpp +++ /dev/null @@ -1,56 +0,0 @@ -#include "bk_websocket.h" - - -// { -// "header": { -// "trace_id": "x70g1n8gfdg", -// "event": "Start" -// }, -// "payload": { -// "device_id": "test_device_id", // 设备ID/用户ID -// "user_agent": "python", // 浏览器uset-gaent 自定义 -// "dialog_id":"", // 继承上轮对话 空新建一个对话 -// "in_format": "pcm", // 上传音频格式 -// "out_format": "pcm", // 返回音频格式 -// "in_sample_rate": 16000, // 上传音频采样率 -// "volume": "10", // 音量设置 -// "sample_rate": 16000, // 返回音频采样率 -// "voice": "zh_female_shuangkuaisisi_moon_bigtts", // 音色配置 -// "voice_detection": "disable" // 开启自动断句 enabled/disable -// } -// } - - -int bk_websocket_tts(void) { - WebSocketClient *client; - client = init_websocket_client("ws://118.145.158.207:22080/vc/chat",NULL); - if (client== NULL) { - return -1; - } - - receive_websocket_message(client,); -// "ws://118.145.158.207:22080/vc/chat - return 0; -} - - -int bk_websocket_asr(void) { - WebSocketClient *client; - client = init_websocket_client("ws://118.145.158.207:22080/vc/chat",NULL); - if (client== NULL) { - return -1; - } -// "ws://118.145.158.207:22080/vc/chat - return 0; -} - - -int bk_websocket_chat(void) { - WebSocketClient *client; - client = init_websocket_client("ws://118.145.158.207:22080/vc/chat",NULL); - if (client== NULL) { - return -1; - } -// "ws://118.145.158.207:22080/vc/chat - return 0; -} \ No newline at end of file