Skip to content

Commit 18065d0

Browse files
陈志和陈志和
authored andcommitted
修改mcp问题
1 parent 1b99b4f commit 18065d0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/protocol.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def recv(self):
215215
# 对比 text_value 和上次的值是否相同
216216
if text_value != self.__last_text_value and text_value is not None:
217217
print(text_value) # 仅在不同时打印
218-
print("内存:",gc.mem_free())
218+
# print("内存:",gc.mem_free())
219219
self.__last_text_value = text_value # 更新为最新的 text_value
220220
# logger.debug("recv data: ", data)
221221
return data
@@ -236,7 +236,7 @@ def hello(self):
236236
},
237237
"features": {
238238
"consistent_sample_rate": True,
239-
"mcpu": True
239+
"mcp": True
240240
}
241241
}
242242
)

src/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
logger = getLogger(__name__)
15-
15+
volume = 7
1616

1717
# ==================== 音频管理 ====================
1818

0 commit comments

Comments
 (0)