Jay Sorg
009e39f071
source: sink => source typos
5 years ago
Koichiro IWAO
3a24c3f77a
Bump version to v0.2
6 years ago
metalefty
113c2523da
Merge pull request #20 from metalefty/sockname
Fix segfault when socket names not given via env #19
6 years ago
Koichiro IWAO
452cb29164
Fix segfault when socket names not given via env #19
snprintf requires malloc before copying strings. I didn't do enough test the case
when socket names were not given via environment variable.
6 years ago
metalefty
b88ff01348
Merge pull request #18 from metalefty/README
README: sync to the wiki
6 years ago
Koichiro IWAO
3eecd70907
README: sync to the wiki
CentOS 7.5 or later requires pulse modules to be built with distro's RPM
source.
6 years ago
metalefty
ce110ead22
Merge pull request #15 from metalefty/remove-xrdp-dependency
Remove xrdp dependency
6 years ago
Koichiro IWAO
389667c3e3
use pa_log_debug instead of pa_log, a little bit too noisy
6 years ago
Koichiro IWAO
0bc8be7243
add XRDP_ prefix to xrdp related environment variables
and remove CHANSRV, use the shorter name
6 years ago
Koichiro IWAO
80ee64dbc9
add some log, fix indent
6 years ago
Koichiro IWAO
6509fea778
pass sockets names via environment variable
now this module no longer depends on xrdp headers.
6 years ago
Koichiro IWAO
b049cec8db
configure: remove xrdp dependency
6 years ago
Koichiro IWAO
f8859e3124
remove xrdp dependency from travis build
6 years ago
metalefty
7bf2c41925
Merge pull request #17 from metalefty/travis
build with distro's pulseaudio source
6 years ago
Koichiro IWAO
5a2232244f
build with distro's pulseaudio source
6 years ago
metalefty
ff2800b233
Merge pull request #14 from metalefty/module-config
use config_ac.h for our config.h
6 years ago
Koichiro IWAO
a031d2e900
use config_ac.h for our config.h
as xrdp already uses config_ac.h. To be consistent, let's use
config_ac.h rather than module-config.h.
6 years ago
metalefty
f30dd47e87
Merge pull request #12 from metalefty/devel
correct travis badge branch
6 years ago
Koichiro IWAO
3b296b7bfa
correct travis badge branch
6 years ago
metalefty
792642c51e
Merge pull request #11 from metalefty/travis
introduce travis build test
6 years ago
Koichiro IWAO
08b8d6b136
Show build status badge on readme
6 years ago
Koichiro IWAO
9a35550762
introduce travis build test
6 years ago
metalefty
67a0b516d9
Merge pull request #10 from metalefty/README
Sync README.md with the wiki
6 years ago
Koichiro IWAO
c762afa554
Sync README.md with the wiki
6 years ago
metalefty
f6083a6281
Merge pull request #9 from metalefty/autotools
brush up use of autotools
6 years ago
Koichiro IWAO
8db2eb2e62
add check for libpulse using pkg-config
6 years ago
Koichiro IWAO
2763238982
brush up use of autotools
* name bootstrap script bootstrap as well as other xrdp repos
* use pkg-config to get pulseaudio version and module directories
* guess prefix by checking for pulseaudio executable
* simplify message then PULSE_DIR not specified
as m4_text_box doesn't support multiple lines
6 years ago
metalefty
0d80384dd9
Merge pull request #7 from speidy/autotools
add Autotools scripts
6 years ago
metalefty
63834ed492
Merge pull request #6 from speidy/readme-fix
update README.md
6 years ago
Idan Freiberg
9f6df5da00
autotools: change default prefix to `/usr`
so our modules will be installed where system's pulseaudio modules are.
Unfortunately, pulseaudio don't check `/usr/local` first
6 years ago
Idan Freiberg
5fee3889fe
add autotools build scripts
6 years ago
Idan Freiberg
5e818dfdd0
remove old-style Makefile
6 years ago
Idan Freiberg
7d6f10ee50
update README.md
6 years ago
metalefty
4a3084a7dc
Merge pull request #4 from metalefty/gitignore
ignore built object and shared object files
6 years ago
Koichiro IWAO
18ebc6c8a7
ignore built object and shared object files
Also, remove !Makefile as we are now out of xrdp tree.
6 years ago
Brandon Wooldridge
c1d50a8534
Corrected spacing between arguments to `cc` for Pulseaudio chanserv Makefile
6 years ago
Dominik George
4e809e0ad1
Simplify pulseaudio module build instructions
6 years ago
Koichiro IWAO
10936f069c
pulse: replace old pulse notes with bran-new README
6 years ago
Koichiro IWAO
93b3d85f06
pulse: respect XRDP_SOCKET_PATH environment variable
7 years ago
Koichiro IWAO
26c56ddc0f
pulse: define default socket directory in Makefile
7 years ago
Pavel Roskin
fe8bec0683
Rename file_loc.h to xrdp_sockets.h, install it
Include xrdp_sockets.h directly, not through headers.
7 years ago
Koichiro IWAO
5d33fe25e9
pulse: refer correct path to file_loc.h
7 years ago
Koichiro IWAO
968f95d408
pulse: use correct macro for audio in/out sockets
7 years ago
Pavel Roskin
f5e5042db8
Make socket directory configurable, don't hardcode /tmp/.xrdp
Use XRDP_SOCKET_PATH in file_loc.h
Don't define any non-socket paths in file_loc.h, they should come from
the makefiles.
Define all paths unconditionally, they should not be defined elsewhere.
Pass XRDP_SOCKET_PATH as environment variable to the backends.
7 years ago
Koichiro IWAO
f7879fc062
chansrv: fix warnings in pulse module
7 years ago
Pavel Roskin
478e2a81f3
Use better symbols to protect include files
8 years ago
Koichiro IWAO
a67966d034
pulse: fix build pulseaudio 6.0 or higher
Discovered in #321 . The number of argument for pa_rtpoll_run have
been changed since 6.0.
>=6.0 : int pa_rtpoll_run(pa_rtpoll *f);
<6.0 : int pa_rtpoll_run(pa_rtpoll *f, bool wait);
Check pulseaudio version by PA_CHECK_VERSION macro introduced since
pulseaudio 0.9.16. In case PA_CHECK_VERSION is not defined,
pa_rtpoll_run takes 2 arguments.
8 years ago
Pavel Roskin
7e5de57b9b
Don't ignore files known to git
That can cause unexpected behavior, especially with third party tools.
The ignored files will be lost if the source tree is re-imported to
another git repository, unless special care is taken.
Whitelist all non-generated makefiles.
To whitelist instfiles/pam.d/xrdp-sesman, add path to all generated
executables listed in the top-level .gitignore, sort .gitignore
alphabetically.
Add mkinstalldir, it's used by Automake on some systems.
8 years ago
Pavel Roskin
45ca55d0b4
Add missing spaces in the strings that are split for line wrapping
8 years ago
Pavel Roskin
d74793ca2c
Run through codespell
8 years ago