Pipewire-pulse profile switch issues
Just migrated from pulseaudio to pipewire-pulse and I'm trying to make my xrandr and pulseaudio display switching scripts work correctly. I've confirmed that audio is working fine from the migrate.
Previously, with pulseaudio, I used pacmd to switch between an HDMI profile and my laptop's built in audio profile. However, pacmd does not seem available anymore upon switching to pipewire. I am trying to use pactl instead to switch, but the commands I need to use are different and everywhere I've checked online on switching profiles has said to use pacmd.
Switching my profile manually with pavucontrol and the like works fine, so that's not the issue. Any idea on how I could use pactl or a different tool altogether to switch instead?
About this post
- Posted
- Archived
- Score
- 12 · 94% up
- Kind
- Text
- ID
- l2dfcs
4 comments
Do you mean something like:
Previously, to switch my card profile I would use something like:
pacmd set-card-profile "alsa_card.pci-0000_00_1f.3" "output:hdmi-stereo-extra1+input:analog-stereo"using the card name and the profile name. Just that command but with pactl instead does not work. I've tried using the card index instead of the card name in the pactl command, but I get the same error as when I use the name:
Failure: no such entity.I've tried random index values in a for loop as well just to see if I was picking the wrong index and those don't work either.I just did
pactl set-card-profile alsa_card.pci-0000_2b_00.3 output:analog-surround-21+input:analog-stereoand it works. Dunno what are you doing wrong. Check card and profile names withpactl list cards