duzda / deezer-enhanced

An unofficial application for Deezer with enhanced features
MIT License
48 stars 8 forks source link

[Feature Request] Set output device #31

Closed lm41 closed 2 years ago

lm41 commented 2 years ago

It would be pretty awesome, if deezer-enhanced would provide the posibility to select the output device. I have the GoXLR, which has 5 Output channels and everytime the audio starts again I have to go to pavoucontrol and select the music channel. (Default is System).

duzda commented 2 years ago

I see, sounds great, I'll look into it!

duzda commented 2 years ago

Alright, I don't own any device that has more than just one output, but whatever I set in pavucontrol seems to be persistent, even after a computer restart and unplugging/plugging in the device. I think the problem you're describing isn't that the possibility to select the output device is missing, it's more of problem of whatever I set is not persistent. From what I've understood, pulseaudio simply checks for the output device, if it exists => use it, if it doesn't => use fallback, if a new device gets plugged in and is selected as the output device => use this device, that was set by a user, instead of the fallback.

The problem in your case may be, all the electron apps use shared settings for output devices, let's say, you set the output for deezer to music, and output for discord to any other channel, which clashes, and will always get reset. Please let me know whether this might be the issue, also feel free to post a screenshot of pavucontrol playback and output devices tabs.

duzda commented 2 years ago

This issue is probably upstream.

https://github.com/electron/electron/issues/27581 https://github.com/electron/electron/issues/7470

lm41 commented 2 years ago

I'm closing this because the error never occurred again. I don't know what it was, but it seems to be gone now.