concurrent audio from analog device?
I have been trying to my headphones / line out speaker set up to work, and through port changes I can mostly use it fine. However, I have so far failed to get the same functionality as on windows - the ability to use both devices concurrently (have music on my headphones while different audio plays on speakers). As far as I can tell, analog alsa audio sinks can only have one active port, and virtual sinks are essentially just simlinks to a specified configuration of the physical sink. So outside of some heavy driver shenanigans, I am stuck?
22 Replies
you can set the audio sink in individual applications
something other than default
default would be what you select in the settings
but I would only be able to set one port per physical sink?
have music on my headphones while different audio plays on speakersfor example, set discord to use headphones, and set default audio to speakers, then you would have stuff in the browser play in speakrs, while discord vc play on headphones
no I understand what you are saying. my analog device has two ports, one headphones, one speakers. I can create a virtual device and set a port, but all that does is set the port of the overal analog (physical) device.
so in your example, if I set discord to this virtual device (headphones), and default audio to the other (speakers), I dont know what would happen, but theoretically audio would cut out depending on which audio stream is sending
is your setup like this?
no, they would play simultaneously on their respective devices
bazzite is from fedora, and fedora uses pipewire-pulse
Most apps you install also use pulseaudio, which gets managed under pipewire-pulse
set your output device in the apps individually

yes, like I said I can create virtual sinks with different ports using pactl
which I need to do since I only have one physical sink that the system detects
try connecting one of your headphones or speakers to the front panel audio
and from what I understand, that means I cannot have two audio outputs simultaneously, because fedora doesnt know it can use the physical sink with two devices
I have tried all physical ports. I can switch audio from one speaker to headphones etc by selecting it in the device using volume control

it will not create a second physical output device

what does it show in settings?
Settings -> Sound

ignore the hdmi playback device, that is my monitor
so when I choose a different port for my analog stereo, my audio switches correctly
but I cannot set ports for different applications, and even if I could theoretically it should not work
from what I have read
Try to set it to Analog Stereo Out instead of Analog Stereo Duplex
and now my settings for my headphones dont work anymore
either way, I dont see how that would help me in my situation? You say set the device per app
I say I only have one device, and if I were to make a new virtual device, it would simply be a copy and not work like that
ah, I see
the motherboard audio is only showing up as one device
yes, the chipset drivers on windows allow to separate the ports into devices
so I was hoping the same is possible on bazzite / fedora
In that case you probably need to either
1. edit
2. get a usb audio adapter or dac and use that for one of your devices
/etc/pulse/default.pa
the client.conf cant be changed in the nonpermutable OS
and also from i can see it doesnt really help unless I want to mess with DBus settings
and 2. would confirm that I need an external solution
thanks for your time 🙂
👍