I have a new audio issue with KDE on 5.7.1 which is a regression from
5.6.5. I have created this bug on the KDE tracker for this:
https://bugs.kde.org/show_bug.cgi?id=366149.
Is there a workaround for this?
Copy of the bug report follows:
I have an Intel-HDA card with PulseAudio 7.1.1 on Fedora 23. My card
is hooked up to both my external speakers as well as a headset. I can
switch the audio from headset to speakers by using the commands:
```
pactl set-card-profile alsa_card.pci-0000_00_1b.0
output:analog-surround-40+input:analog-stereo
pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-surround-40
analog-output-lineout
amixer -c $CARD sset "Auto-Mute Mode" Disabled
amixer -c $CARD sset 'Headphone',1 100 mute
```
and vice-versa:
```
pactl set-card-profile alsa_card.pci-0000_00_1b.0
output:analog-stereo+input:analog-stereo
pactl set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo
analog-output-headphones
amixer -c $CARD sset "Auto-Mute Mode" Enabled
amixer -c $CARD sset 'Headphone',1 100 unmute
```
As of Plasma 5.7.1, the above commands still work, but KDE seems to
lose its connection to PulseAudio when they are run. In
`.xsession-errors`, immediately upon the switch I see:
org.kde.plasma.pulseaudio: No object for name
"alsa_output.pci-0000_00_1b.0.analog-surround-40"
After that point, I cannot, use the volume up/down/mute keys
successfully. Though moving the sliders in the pulse-pa applet does
still work.
A restart of plasma restores the connection to pulseaudio and restores
the up/down/mute key functionality.
Regards,
Raman