fix: Voice playback is not played in order (#2668)
This commit is contained in:
parent
98ef6e5775
commit
66f674f651
@ -413,7 +413,9 @@ class AudioManage {
|
||||
this.reTryError()
|
||||
|
||||
// 需要播放的内容
|
||||
const index = this.statusList.findIndex((status) => [AudioStatus.READY].includes(status))
|
||||
const index = this.statusList.findIndex((status) =>
|
||||
[AudioStatus.MOUNTED, AudioStatus.READY].includes(status)
|
||||
)
|
||||
|
||||
if (index < 0 || this.statusList[index] === AudioStatus.MOUNTED) {
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user