mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
Merge branch 'dev'
This commit is contained in:
commit
c74c47564e
3 changed files with 22 additions and 20 deletions
|
|
@ -248,7 +248,7 @@ export default {
|
|||
};
|
||||
},
|
||||
computed: {
|
||||
...mapState(["settings", "data"]),
|
||||
...mapState(["player", "settings", "data"]),
|
||||
isElectron() {
|
||||
return process.env.IS_ELECTRON;
|
||||
},
|
||||
|
|
@ -305,7 +305,7 @@ export default {
|
|||
if (deviceId === this.settings.outputDevice || deviceId === undefined)
|
||||
return;
|
||||
this.$store.commit("changeOutputDevice", deviceId);
|
||||
document.querySelector("audio").setSinkId(deviceId); // Change output device
|
||||
this.player.setOutputDevice();
|
||||
},
|
||||
},
|
||||
showGithubIcon: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue