pulseaudio: fixed some build issues

ulab-next
Laxmikant Rashinkar 11 years ago
parent 522cedf12e
commit 33e6c7a834

@ -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<version> 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-<version>/modules
sudo cp module-xrdp-source.so /usr/lib/pulse-<version>/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
--------------------------------------

@ -17,13 +17,16 @@
*/
#include <stdio.h>
#include <pulse/util.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/errno.h>
#include <signal.h>
#include <sys/un.h>
#ifdef XRDP_LOAD_PULSE_MODULES
#include <pulse/util.h>
#endif
#include "sound.h"
#include "thread_calls.h"
#include "defines.h"

Loading…
Cancel
Save