Blame SOURCES/pulseaudio-autostart.patch

f26fae
--- pulseaudio-13.99.1/src/daemon/start-pulseaudio-x11.in	2020-05-11 17:35:39.857484912 +0200
f26fae
+++ pulseaudio-13.99.1.new/src/daemon/start-pulseaudio-x11.in	2020-05-11 17:35:53.041199783 +0200
b943aa
@@ -17,6 +17,9 @@
b943aa
 
b943aa
 set -e
b943aa
 
b943aa
+# probe to test if autospawn works, else resort to starting manually
b943aa
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
b943aa
+
b943aa
 if [ x"$DISPLAY" != x ] ; then
b943aa
 
f26fae
     @PACTL_BINARY@ load-module module-x11-publish "display=$DISPLAY xauthority=$XAUTHORITY" > /dev/null