summaryrefslogtreecommitdiffstats
path: root/instfiles/pulse
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2014-12-11 14:56:52 -0800
committerJay Sorg <jay.sorg@gmail.com>2014-12-11 14:56:52 -0800
commit3989dfcecc02609a7586b9d51f9c30ad8b114edb (patch)
tree501aaad4ea888b94c84c91eaab666fe6021b36f3 /instfiles/pulse
parentde32ca87b9b147a6e26d06bd13f940a9c38be61f (diff)
downloadxrdp-proprietary-3989dfcecc02609a7586b9d51f9c30ad8b114edb.tar.gz
xrdp-proprietary-3989dfcecc02609a7586b9d51f9c30ad8b114edb.zip
pulseaudio: if source and sink are not installed, use null sink so pulseaudio will always start
Diffstat (limited to 'instfiles/pulse')
-rw-r--r--instfiles/pulse/default.pa7
1 files changed, 6 insertions, 1 deletions
diff --git a/instfiles/pulse/default.pa b/instfiles/pulse/default.pa
index 38e9f790..08741741 100644
--- a/instfiles/pulse/default.pa
+++ b/instfiles/pulse/default.pa
@@ -1,7 +1,12 @@
.nofail
.fail
load-module module-augment-properties
+load-module module-always-sink
+.ifexists module-xrdp-sink.so
load-module module-xrdp-sink
+.endif
+.ifexists module-xrdp-source.so
load-module module-xrdp-source
-load-module module-always-sink
+.endif
load-module module-native-protocol-unix
+