Firefox starts playing new audio streams in wrong device

ge flag

Here is how default pulseaudio settings look after I removed all config files and restarted PA: image

Should I try and unmute Built-in Audio Analog Stereo (I have to choose "Headphones" for sound to appear, even though they are marked as "unplugged" and speakers are not), I have the sound for exactly one song in Firefox, and when another starts, Firefox changes to playing in HDMI: image

I disabled HDMI in config and then it all became just fine (that is being said, pulseaudio doesn't really have to choose from any sound devices because there is only one.. don't think this is intended behaviour). But then I needed to create some new sound devices (for my RNNoise microphone noise cancelling) and again the problem came back (this time Firefox always plays sound in "Null Output"), configuration looking like this: image. I find it rather strange that I have two devices selected simultaneously. Auto-Mute is disabled. How can I set my sweet Built-in Audio Analog Stereo to being default, and moreover, why something marked as "unplugged" plays sound and something that is not marked doesn't?

ge flag

sudo alsactl restore seemed to do the trick, although I had to select "speakers" and not "headphones (unplugged)" and also it must be done every time on boot.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.