确保音频输出改变时能暂停播放
parent
6aed9dfb9f
commit
34febf4949
|
@ -45,7 +45,10 @@ export default ({ setting }) => {
|
||||||
setting.value.player.isMediaDeviceRemovedStopPlay &&
|
setting.value.player.isMediaDeviceRemovedStopPlay &&
|
||||||
isPlay.value &&
|
isPlay.value &&
|
||||||
device.label != prevDeviceLabel
|
device.label != prevDeviceLabel
|
||||||
) window.eventHub.emit(eventPlayerNames.setPause)
|
) {
|
||||||
|
global.isPlayedStop = true
|
||||||
|
window.eventHub.emit(eventPlayerNames.setPause)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const handleMediaListChange = async() => {
|
const handleMediaListChange = async() => {
|
||||||
|
|
Loading…
Reference in New Issue