v2.1+ Changing "Audio Backend" "Output" does not work.
I build Doomsday Engine from source on Ubuntu 18.04.2
For the most part, everything works. However, when I have a USB headset plugged in (thus multiple "output" options) things go awry. I haven't seen any other posts, so I'm not sure if there's something unique to my environment, or if it's just not common for people to have multiple output devices.
As a shorthand, I'll call the audio output I want to use "speakers" and the one I don't "headset." If I set the system output (Ubuntu) to "speakers" then when I launch doomsday, "speakers" will be the selected "Output" (as expected) - however, the sound will actually come out of the "headset" (not expected). If I close Doomsday, and change the system default to "headset" then launch Doomsday, the "Output" is set to "headset" - but the sound will come out of the "speakers."
There's oddity one - in a nutshell, when I have two output options in Doomsday, the sound comes out of the one that's not selected.
The second oddity is that I can't use the "Audio Backend" configuration menu to make a change to "Output." If I select the "Output" option, it will list my choices. However, once I select a different one, I don't get an "Apply" button. It's as if I didn't change anything. If I change this and something else, I'll get an "Apply" button, but using the "Apply" button does not actually save the change made to "Output." I can go right back into the settings, and the original output device is still listed as the selection.
At current, my only options to get sound to come out of the "speakers" is to either unplug my USB headset before launching doomsday or set the system default to "headset" before launching doomsday.
I tried this on the 2.1.0 release, the 2.1.1 release, and also the latest build (3129).
For the most part, everything works. However, when I have a USB headset plugged in (thus multiple "output" options) things go awry. I haven't seen any other posts, so I'm not sure if there's something unique to my environment, or if it's just not common for people to have multiple output devices.
As a shorthand, I'll call the audio output I want to use "speakers" and the one I don't "headset." If I set the system output (Ubuntu) to "speakers" then when I launch doomsday, "speakers" will be the selected "Output" (as expected) - however, the sound will actually come out of the "headset" (not expected). If I close Doomsday, and change the system default to "headset" then launch Doomsday, the "Output" is set to "headset" - but the sound will come out of the "speakers."
There's oddity one - in a nutshell, when I have two output options in Doomsday, the sound comes out of the one that's not selected.
The second oddity is that I can't use the "Audio Backend" configuration menu to make a change to "Output." If I select the "Output" option, it will list my choices. However, once I select a different one, I don't get an "Apply" button. It's as if I didn't change anything. If I change this and something else, I'll get an "Apply" button, but using the "Apply" button does not actually save the change made to "Output." I can go right back into the settings, and the original output device is still listed as the selection.
At current, my only options to get sound to come out of the "speakers" is to either unplug my USB headset before launching doomsday or set the system default to "headset" before launching doomsday.
I tried this on the 2.1.0 release, the 2.1.1 release, and also the latest build (3129).
Comments
arch wiki might have some info, even though you are using ubuntu
https://wiki.archlinux.org/index.php/PulseAudio/Examples#Simultaneous_HDMI_and_analog_output
if you use gnome, an extension might help?
https://extensions.gnome.org/extension/751/audio-output-switcher/
I'll dig up a second audio output device and do more testing.
In my particular case I have two outputs... a discrete sound card I use for my headphones, and hdmi out which I use for my speakers. I normally control which is the active output by simply switching the default device in Windows 10. After switching to headphones for some late-night gaming and starting doomsday everything was fine. However, after switching back to speakers the following morning and starting doomsday, doomsday continued to output to the headphones regardless of the default in windows or the configured output in doomsday. I eventually had to disable the headphone output in windows (and restart doomsday) to fix it. Deleting persist.pack accomplished nothing.
I do not know if this is your problem or not but a Google search on this might add more useful info.
Good luck,
But like I said, I do appreciate the response. You're literally the only response I've seen on these forums so far.