jpochyla / psst

Fast and multi-platform Spotify client with native GUI
MIT License
8.52k stars 218 forks source link

Doesn't switch device when changed #215

Open confact opened 2 years ago

confact commented 2 years ago

Describe the bug I am using latest commit (96059d95d6a69294c0847bfd0f67d0f6dda11e47) and it works good on my mac. The only thing is that I can start playing and then plug in a Bluetooth headset, and it will continue to play in the speakers while everything else goes through the headset.

To Reproduce

Expected behavior I want it to change to the new default device - listening on sound device changes.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Additional context Add any other context about the problem here.

jpochyla commented 2 years ago

Yup, this is unfortunately a limitation of CPAL at the moment https://github.com/RustAudio/cpal/issues/373

confact commented 2 years ago

@jpochyla, okay. I would love it to be fixed, as I have to restart Psst 3-4 times a day now every time I connect my BT headset. I will follow that issue for sure! Do you have any ideas what I could do until then?

jpochyla commented 2 years ago

It annoys me as well, I'll look into it.

yerke commented 2 years ago

Do I understand correctly that https://github.com/RustAudio/cpal/pull/648 is going to fix this issue?