pulse: define default socket directory in Makefile
# build xrdp pulseaudio modules
#
+# change this to your pulseaudio source directory
PULSE_DIR = /home/lk/pulseaudio-1.1
-CFLAGS = -Wall -O2 -I$(PULSE_DIR) -I$(PULSE_DIR)/src -DHAVE_CONFIG_H -fPIC
+# change this if you're using non-default socket directory
+SOCK_DIR = /tmp/.xrdp
+CFLAGS = -Wall -O2 -I$(PULSE_DIR) -I$(PULSE_DIR)/src -DHAVE_CONFIG_H -fPIC -DXRDP_SOCKET_PATH=\"$(SOCK_DIR)\"
all: module-xrdp-sink.so module-xrdp-source.so
