libpulseaudio: fix autospawn
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.
This commit is contained in:
parent
c095a4630e
commit
c380e354de
13
packages/libpulseaudio/caps.c.patch
Normal file
13
packages/libpulseaudio/caps.c.patch
Normal file
@ -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
|
||||
}
|
12
packages/libpulseaudio/client.conf.in.patch
Normal file
12
packages/libpulseaudio/client.conf.in.patch
Normal file
@ -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
Block a user