Update fay_core.py 解决面板播放没有停止录音的bug
This commit is contained in:
parent
023df4deb1
commit
f76f92f187
@ -542,10 +542,11 @@ class FeiFei:
|
||||
|
||||
|
||||
wsa_server.get_web_instance().add_cmd({"panelMsg": self.a_msg})
|
||||
time.sleep(audio_length + 0.5)
|
||||
|
||||
wsa_server.get_web_instance().add_cmd({"panelMsg": ""})
|
||||
if config_util.config["interact"]["playSound"]:
|
||||
util.log(1, '结束播放!')
|
||||
time.sleep(audio_length + 0.5)
|
||||
self.speaking = False
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
Loading…
Reference in New Issue
Block a user