diff --git a/sesman/chansrv/pulse/pulse-notes.ubuntu.txt b/sesman/chansrv/pulse/pulse-notes.ubuntu.txt index 053a0022..18a3768f 100644 --- a/sesman/chansrv/pulse/pulse-notes.ubuntu.txt +++ b/sesman/chansrv/pulse/pulse-notes.ubuntu.txt @@ -20,8 +20,8 @@ o append the following line to /etc/apt/sources.list #deb http://archive.getdeb.net/ubuntu precise-getdeb games deb http://drbl.sourceforge.net/drbl-core drbl stable deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse - - NOTE: If you get an error message that goes something like this: + + NOTE: If you get an error message that goes something like this: E: You must put some 'source' URIs in your sources.list @@ -41,7 +41,7 @@ o run these commands in your home directory o edit Makefile and point PULSE_DIR to ~/pulseaudio dir -o run make; the outputs will be +o run make; the outputs will be module-xrdp-sink.so module-xrdp-source.so @@ -49,6 +49,14 @@ o sudo cp module-xrdp-sink.so /usr/lib/pulse-/modules sudo cp module-xrdp-source.so /usr/lib/pulse-/modules note: on a 64bit machine use lib64 instead of lib +o if you build xrdp with --enable-load_pulse_modules, then the above modules + will get loaded automatically when xrdp starts. However if --enable-load_pulse_modules + is not used, then you need to edit /etc/pulse/default.pa and insert the following + two lines into it: + + load-module module-xrdp-sink + load-module module-xrdp-source + -------------------------------------- To test sound/microphone redirection -------------------------------------- diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c index cc327744..5669aea8 100644 --- a/sesman/chansrv/sound.c +++ b/sesman/chansrv/sound.c @@ -17,13 +17,16 @@ */ #include -#include #include #include #include #include #include +#ifdef XRDP_LOAD_PULSE_MODULES +#include +#endif + #include "sound.h" #include "thread_calls.h" #include "defines.h"