pulseaudio: fixed some build issues
This commit is contained in:
parent
522cedf12e
commit
33e6c7a834
@ -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…
Reference in New Issue
Block a user