|
@@ -487,7 +487,6 @@ export const resetPlayStatus = async (notStop?: boolean) => {
|
|
|
songID: detailState.activeDetail.examSongId,
|
|
|
},
|
|
|
})
|
|
|
- endCapture()
|
|
|
} else {
|
|
|
console.log('resetPlayStatus调用暂停')
|
|
|
state.audiosInstance.pause()
|
|
@@ -540,15 +539,10 @@ export const pause = async () => {
|
|
|
api: 'cloudSuspend',
|
|
|
})
|
|
|
await setDelayTime(200)
|
|
|
- endCapture()
|
|
|
} else {
|
|
|
state.playState = state.audiosInstance.getStatus()
|
|
|
clearAccelerateRefreshPlayer()
|
|
|
state.audiosInstance.pause()
|
|
|
- setTimeout(() => {
|
|
|
- // 确保播放完毕,延迟200ms
|
|
|
- endCapture()
|
|
|
- }, 200)
|
|
|
}
|
|
|
}
|
|
|
|