DEBUG
This commit is contained in:
parent
4f57a19ef6
commit
11a402009b
@ -176,6 +176,7 @@ export default class MusicList {
|
|||||||
await new Promise(resolve => setTimeout(resolve, 100))
|
await new Promise(resolve => setTimeout(resolve, 100))
|
||||||
}
|
}
|
||||||
const chunk = item.arrayBufferChunks[index] // 顺序取出一个arrayBuffer分片
|
const chunk = item.arrayBufferChunks[index] // 顺序取出一个arrayBuffer分片
|
||||||
|
if (this.audio.paused) break // 播放停止则退出
|
||||||
sourceBuffer.appendBuffer(chunk) // 添加到sourceBuffer
|
sourceBuffer.appendBuffer(chunk) // 添加到sourceBuffer
|
||||||
index++
|
index++
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user