https://bugs.kde.org/show_bug.cgi?id=422612

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.20
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-pa/commit/6611ff9
                   |                            |e89ecedbedb38c630ece042d578
                   |                            |32f72c
         Resolution|---                         |FIXED

--- Comment #5 from Nate Graham <n...@kde.org> ---
Git commit 6611ff9e89ecedbedb38c630ece042d57832f72c by Nate Graham.
Committed on 19/06/2020 at 05:07.
Pushed by ngraham into branch 'master'.

Filter out currently unused devices

Right now devices that have only a single unplugged port are visible in the
applet and the KCM.
For all intents and purposes, these devices are useless as they are inactive
and unused.
Therefore, let's filter them out so they're not distracting and confusing to
the user. An option
to see them all again is provided in the KCM on the off chance that a person
needs to configure
the volume or balance of an unused device *before* it's used.

This patch is principally aimed at people using hardware where PulseAudio
represents multiple
input and output sources as separate devices rather than separate ports of the
same device.
I asked the PA people about this and they said that for certain hardware, it's
intentional,
and the correct approach is to filter out the unused devices over here [1]. So,
that's what
this patch does.

Thanks to @nicolasfella for his help with getting the initial prototype
working!

FIXED-IN: 5.20

[1] https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/913

M  +3    -11   applet/contents/ui/main.qml
M  +2    -2    src/kcm/package/contents/ui/Applications.qml
M  +2    -0    src/kcm/package/contents/ui/DeviceListItem.qml
M  +37   -2    src/kcm/package/contents/ui/Devices.qml
M  +2    -2    src/kcm/package/contents/ui/main.qml
M  +3    -2    src/pulseaudio.h
M  +24   -3    src/qml/PulseObjectFilterModel.qml

https://invent.kde.org/plasma/plasma-pa/commit/6611ff9e89ecedbedb38c630ece042d57832f72c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to