clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.7k stars 671 forks source link

Not changing to headphone output without restart (OSX Catalina) #6849

Open DrPhilEvans opened 3 years ago

DrPhilEvans commented 3 years ago

Before posting

Please follow the steps below and check the boxes with [x] once you did the step.

System information

Please provide information about your system and the version of Clementine used.

Expected behaviour / actual behaviour

Expected: If Clementine is open, and I plug something into the headphone jack, clementine should change to using that as the output.

Actual: If the headphone jack is not being used when Clementine starts, it uses external speakers only, I have to restart clementine to pick up the headphones. Even if I go to system preferences and toggle output devices, Clementine ignores it (other apps, e.g. Spotify, are fine). The only option is to quit Clementine, and start it with the headphone jack plugged in. And if it is unplugged / replugged, restart Clementine each time.

NB, this has only happened since getting a new Mac with Catalina, I have not had this problem on Mojave, also running Clementine 1.3.1

Steps to reproduce the problem (only for bugs)

Open Clementine, with nothing plugged into the headphone jack. Press play. (optional: pause) Plug device into headphone jack

Music will continue to come out of Mac speakers, not out of headphones.

jbroadus commented 3 years ago

Which output device do you have selected in your playback preferences?

DrPhilEvans commented 3 years ago

External headphones. I have tried toggling to "MacbookPro speakers" and back again, but the sound continues to come out of the macbook speakers regardless, until I restart Clementine.

DrPhilEvans commented 3 years ago

Slight correction to this, doing a complete "stop" (instead of pause) and "play" of music will also cause it to pick up the fact that I have a headphone device in.It's just not dynamically picking up the change (but it does pick it up in the other direction, i.e. unplug the headphones and it switches to the external speakers).

mauritslamers commented 1 year ago

FYI This is still the case in 1.4 rc1 on macOS Big Sur (11.7). Only a full stop (instead of pause) will "reset" the output device, and go to the selected one. What would be nice is that Clementine either follows or uses the default output device, so switching happens automatically using the output selectors in macOS.