pulseaudio: fixed some build issues

This commit is contained in:
Laxmikant Rashinkar 2014-01-17 19:40:13 -08:00
parent 522cedf12e
commit 33e6c7a834
2 changed files with 15 additions and 4 deletions

View File

@ -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
--------------------------------------

View File

@ -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"