File: pulse-debian.patch

package info (click to toggle)
xrdp 0.10.4.1-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 15,024 kB
  • sloc: ansic: 106,652; sh: 5,850; asm: 4,742; cpp: 2,555; makefile: 1,464
file content (23 lines) | stat: -rw-r--r-- 878 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Dominik George <nik@naturalnet.de>
Subject: Use absolute path to PulseAudio modules
 The modules are installed to their locations by the
 xrdp-build-pulse-modules script from the former
 xrdp-pulseaudio-installer package. The upstream
 pulseaudio-module-xrdp/wiki/README instructions
 install the module into the PA directory and do
 not need this patch.

--- a/instfiles/pulse/default.pa
+++ b/instfiles/pulse/default.pa
@@ -8,5 +8,11 @@ load-module module-xrdp-sink
 .ifexists module-xrdp-source.so
 load-module module-xrdp-source
 .endif
+.ifexists /var/lib/xrdp-pulseaudio-installer/module-xrdp-sink.so
+load-module /var/lib/xrdp-pulseaudio-installer/module-xrdp-sink.so
+.endif
+.ifexists /var/lib/xrdp-pulseaudio-installer/module-xrdp-source.so
+load-module /var/lib/xrdp-pulseaudio-installer/module-xrdp-source.so
+.endif
 load-module module-native-protocol-unix