Bug 394751

Summary: [PulseAudio] Volume control popup needs to be able to show all playback hardware devices
Product: [Applications] kmix Reporter: Martin Koller <kollix>
Component: KMix Panel DockingAssignee: Jonathan Marten <jjm>
Status: RESOLVED FIXED    
Severity: normal CC: cdauth+bugs.kde.org, jjm
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Martin Koller 2018-05-27 13:53:56 UTC
Created attachment 112905 [details]
screenshot

In the attached screenshot of the kmix Mixer dialog
you'll see that I have 2 playback devices,
one being internal audio, the other a headset connected via bluetooth.
Also in the screenshot you see that I have configured kmix to display the playback devices sliders in the panel popup, but opening the popup only
shows the internal device but not the headset.
Comment 1 Candid Dauth 2021-01-05 13:19:41 UTC
I'm very much in favour of this. I frequently listen to music using a bluetooth speaker, and I want to be able to quickly adjust its volume without having to change the master channel or open the mixer dialog.
Comment 2 Jonathan Marten 2021-02-09 10:01:29 UTC
Yes, this is a problem.  The reason is that within KMix only the master channel of each device is shown in the popup volume control.  This is fine for ALSA/OSS, but for PulseAudio all of the hardware devices are considered to be one sound card "Playback Devices", and only the master channel from that is displayed.  The ViewDockAreaPopup needs to look at all of the MixDevice's of the Mixer, instead of just the master channel.
Comment 3 Jonathan Marten 2023-06-17 08:03:35 UTC
This has now been implemented (since commit https://invent.kde.org/multimedia/kmix/-/commit/29a69dc2).  All PulseAudio playback and capture devices can be individually selected to display in the system tray popup.