Browse Source
Autospawn needs to use the wrapper we made, otherwise the sles sink module cannot be loaded. Also patch caps.c to remove the silly warning that somehow ignores log-level and log-target to avoid programs like cmus being ruined when pulse is spawned.android-5
Tom Yan
7 years ago
committed by
Fredrik Fornwall
2 changed files with 25 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||
diff --git a/src/daemon/caps.c~ b/src/daemon/caps.c
|
|||
index fd135c0..135d842 100644
|
|||
--- a/src/daemon/caps.c~
|
|||
+++ b/src/daemon/caps.c
|
|||
@@ -92,8 +92,5 @@ void pa_drop_caps(void) {
|
|||
#error "Don't know how to do capabilities on your system. Please send a patch." |
|||
#endif /* __linux__ */ |
|||
#else /* HAVE_SYS_CAPABILITY_H */ |
|||
- pa_log_warn("Normally all extra capabilities would be dropped now, but "
|
|||
- "that's impossible because PulseAudio was built without "
|
|||
- "capabilities support.");
|
|||
#endif |
|||
} |
@ -0,0 +1,12 @@ |
|||
diff --git a/src/pulse/client.conf.in~ b/src/pulse/client.conf.in
|
|||
index 26b7790..a29cf86 100644
|
|||
--- a/src/pulse/client.conf.in~
|
|||
+++ b/src/pulse/client.conf.in
|
|||
@@ -23,6 +23,7 @@
|
|||
; default-dbus-server = |
|||
|
|||
; autospawn = yes |
|||
+daemon-binary = @TERMUX_PREFIX@/bin/pulseaudio
|
|||
; daemon-binary = @PA_BINARY@ |
|||
; extra-arguments = --log-target=syslog |
|||
|
Loading…
Reference in new issue