Bug 370514 - Plasma-pa will not use a combined sink as the default device
Summary: Plasma-pa will not use a combined sink as the default device
Status: CONFIRMED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: applet (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-11 23:39 UTC by young.acinonyx
Modified: 2018-09-11 14:29 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description young.acinonyx 2016-10-11 23:39:14 UTC
Since version 5.7.95 (I'm using 5.8.1 at the moment) , plasma-pa seems to ignore when I choose a combined pulseaudio sink (simultaneous output to internal audio, headphones and HDMI, in my case) as the default device. Despite of the device appearing selected on the settings, the selection doesn't affect the icon at the notification area of the panel. As a result, changing the volume with the mouse wheel or a keyboard shortcut will change the volume of only one device (the first to be listed at the combined sink).

Reproducible: Always

Steps to Reproduce:
1. Define a combined sink in pulseaudio (with two or more devices);
2. Select the combined sink as the default output device inside the plasma-pa settings;
3. Try changing the volume using a keyboard shortcut or by scrolling over the icon with the mouse.

Actual Results:  
Apparently, the first device listed in the combined sink is used instead of the whole simultaneous output.

Expected Results:  
The simultaneous output should be used when it is selected as the default device.

It worked fine until version 5.7.5, and the only solution I have found so far is to downgrade to that version.
Comment 1 David Rosca 2016-11-05 11:23:15 UTC
It will use the combined sink if it is set as default device and is currently playing any stream.

Can you please confirm that the combined sink is actually playing a stream?
Comment 2 young.acinonyx 2016-11-07 03:44:12 UTC
Yes, you are right. I haven't noticed this before, but it suddenly changes to the combined sink when I start playing audio through it. Then, when I stop the stream, it changes back to the wrong sink. Still, this is really weird behavior and it didn't happened prior to 5.7.5. Plasma-pa should always use the selected sink.
Comment 3 David Rosca 2016-11-07 09:13:29 UTC
That's actually intended behavior. If there is no active sink (playing any stream), it will fallback to default device. So you should set the combined sink as default and it will be used all the time (assuming no other sink is active of course).
Comment 4 young.acinonyx 2016-11-07 20:49:14 UTC
I have already chosen the combined sink as the default device, but plasma-pa ignores this selection and changes the device shown at the icon to the first on the list as soon as I close all applications that use audio. I mean, the icon doesn't match the selection made in the configuration when there is no audio being played. The device represented by the icon shouldn't change just because there is no audio playing. Once I selected the default device, it should always be used by the icon.
Comment 5 Thomas Finstad Larsen 2018-08-23 00:05:37 UTC
Description:    KDE neon User Edition 5.13
Release:        16.04
updated as of 23rd of august 2018
Devices: Yeti microphone via USB with jack output, and analog out from motherboard.

A while ago I stopped being able to use my volume hotkeys to change the volume if my combined sink as well. It will always change on the same device (top of the list), but I don't have many other devices to connect to test if it is always the first one in the list.

The sink is default, and works as intended in all applications etc, except for the volume hotkeys, if there is anything I can do to help figure this out I am more than willing to give the relevant info, but I have no idea what that would be.
Comment 6 Félim Whiteley 2018-09-11 14:29:26 UTC
(In reply to Thomas Finstad Larsen from comment #5)
> Description:    KDE neon User Edition 5.13
> Release:        16.04
> updated as of 23rd of august 2018
> Devices: Yeti microphone via USB with jack output, and analog out from
> motherboard.
> 
> A while ago I stopped being able to use my volume hotkeys to change the
> volume if my combined sink as well. It will always change on the same device
> (top of the list), but I don't have many other devices to connect to test if
> it is always the first one in the list.
> 
> The sink is default, and works as intended in all applications etc, except
> for the volume hotkeys, if there is anything I can do to help figure this
> out I am more than willing to give the relevant info, but I have no idea
> what that would be.

Same for me, have 3 sinks from "pacmd list-sinks" with the combined-sink as the default, for a bluetooth headset and wired headset. Setting mute on the wired headset marks the icon in the task bar as muted even though the bluetooth headset is not and works properly. As you say the multimedia keys on my keyboard control the muted channel rather than the combined one.