psst icon indicating copy to clipboard operation
psst copied to clipboard

Doesn't switch device when changed

Open confact opened this issue 2 years ago • 4 comments

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

  • start playing music
  • trigger device change (plugin headset, Bluetooth, etc.)
  • It will continue playing on the previous device

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

  • OS: MacOS
  • Version: 10.15.7 (19H1323)

Additional context Add any other context about the problem here.

confact avatar Nov 17 '21 07:11 confact

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

jpochyla avatar Nov 17 '21 08:11 jpochyla

@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?

confact avatar Dec 08 '21 07:12 confact

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

jpochyla avatar Dec 08 '21 08:12 jpochyla

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

yerke avatar Mar 18 '22 01:03 yerke