Skip to content

Commit 70d7669

Browse files
eded
authored andcommitted
fix: remove unrelated
1 parent debce0c commit 70d7669

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

src/main/java/com/xiaozhi/communication/common/ChatSession.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ public abstract class ChatSession {
5252
* 是否正在说话
5353
*/
5454
protected boolean playing;
55-
/**
56-
* 客户端停止说话
57-
*/
58-
protected boolean clientVoiceStop = false;
5955
/**
6056
* 设备状态(auto, realTime)
6157
*/

src/main/java/com/xiaozhi/communication/common/SessionManager.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -423,27 +423,6 @@ public boolean isPlaying(String sessionId) {
423423
return false;
424424
}
425425

426-
/**
427-
* 设置客户端是否停止说话
428-
*/
429-
public void setClientVoiceStop(String sessionId, boolean clientVoiceStop) {
430-
ChatSession chatSession = sessions.get(sessionId);
431-
if (chatSession != null) {
432-
chatSession.setClientVoiceStop(clientVoiceStop);
433-
}
434-
}
435-
436-
/**
437-
* 客户端是否停止说话
438-
*/
439-
public boolean isClientVoiceStop(String sessionId) {
440-
ChatSession chatSession = sessions.get(sessionId);
441-
if (chatSession != null) {
442-
return chatSession.isClientVoiceStop();
443-
}
444-
return false;
445-
}
446-
447426
/**
448427
* 设备状态
449428
*

0 commit comments

Comments
 (0)