Merge pull request #36 from andrewsty/main
Update fay_core.py 解决面板播放没有停止录音的bug
This commit is contained in:
commit
65884afee9
@ -593,10 +593,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