fix: update audio playback status to PLAY_INT when resuming speech synthesis

--bug=1058601 --user=刘瑞斌 【应用】浏览器播放-点击暂停&继续播放-连续两次相同操作-第二次未继续播放,而是重新播放了 https://www.tapd.cn/62980211/s/1729699
This commit is contained in:
CaptainB 2025-07-12 11:07:19 +08:00
parent 41ad2eeef2
commit 58db4ed901

View File

@ -466,6 +466,7 @@ class AudioManage {
} else {
if (window.speechSynthesis.paused) {
window.speechSynthesis.resume()
this.statusList[index] = AudioStatus.PLAY_INT
} else {
//
if (window.speechSynthesis.speaking) {