[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] daemon: Drop KDE-specific loading of module-device-manager

Arun Raghavan gitlab at gitlab.freedesktop.org
Fri Aug 30 11:07:55 UTC 2019



Arun Raghavan pushed to branch master at PulseAudio / pulseaudio


Commits:
68f5bf86 by Nicolas Fella at 2019-08-30T11:07:52Z
daemon: Drop KDE-specific loading of module-device-manager

Newer versions of Plasma no longer use this module, and the consensus
seems to be that module-switch-on-connect works better for most cases.

Fixes: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/509

- - - - -


1 changed file:

- src/daemon/start-pulseaudio-x11.in


Changes:

=====================================
src/daemon/start-pulseaudio-x11.in
=====================================
@@ -23,7 +23,10 @@ if [ x"$DISPLAY" != x ] ; then
     @PACTL_BINARY@ load-module module-x11-cork-request "display=$DISPLAY" > /dev/null
 
     if [ x"$KDE_FULL_SESSION" = x"true" ]; then
-       @PACTL_BINARY@ load-module module-device-manager "do_routing=1" > /dev/null
+        plasmaversion=`grep "X-KDE-PluginInfo-Version" $DESKTOP_SESSION.desktop | cut -d "=" -f2 | cut -d "." -f1,2 | tr -d "."`
+        if [ "$plasmaversion" -lt "517" ]; then
+            @PACTL_BINARY@ load-module module-device-manager "do_routing=1" > /dev/null
+        fi
     fi
 
     if [ x"$SESSION_MANAGER" != x ] ; then



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/68f5bf86bcab7c75ac9c7792e22619b62e5ec244

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/68f5bf86bcab7c75ac9c7792e22619b62e5ec244
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20190830/2a66ef5f/attachment.html>


More information about the pulseaudio-commits mailing list