Wireplumber resets selected audio destination with pavucontrol open
This is a really odd one How to reproduce: My initial setup: I have a USB sound card which is configured as the default endpoint and build in audio used for headphones (non-default). Running latest master (cde38daa)
- Start playing a youtube video on Chrome
- Open pavucontrol and switch the audio output of Chrome from the default to the headphones (non-default)
- Stop the video and wait for the Chrome stream to disappear (about 20 seconds, you can see the stream removed in the open pavucontrol panel)
- Without closing pavucontrol, start playing the video again
Expected behavior: audio will play in the last selected output (headphones - the non default endpoint) Actual behavior: audio plays on the default endpoint (USB sound card in my case)
Oddly enough, if you close pavucontrol before starting to play the video in step 4 above, the route will be preserved and audio will play on the previously selected endpoint
You can reproduce the same issue using Firefox, but instead of stopping the video you'll need to close the browser (firefox does not remove the stream until closed)