2021-12-04 23:05:06 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
src/daemon/start-pulseaudio-x11.in | 3 +++
|
|
|
|
|
1 file changed, 3 insertions(+)
|
|
|
|
|
|
|
|
|
|
diff --git a/src/daemon/start-pulseaudio-x11.in b/src/daemon/start-pulseaudio-x11.in
|
|
|
|
|
index 722a639..7cdf14e 100755
|
|
|
|
|
--- a/src/daemon/start-pulseaudio-x11.in
|
|
|
|
|
+++ b/src/daemon/start-pulseaudio-x11.in
|
2019-09-30 11:14:19 -04:00
|
|
|
@@ -17,6 +17,9 @@
|
|
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
+# probe to test if autospawn works, else resort to starting manually
|
2022-08-15 14:02:33 +08:00
|
|
|
+@PACTL_BINARY@ info > /dev/null 2>&1 || /usr/bin/pulseaudio --start "$@"
|
2019-09-30 11:14:19 -04:00
|
|
|
+
|
2021-12-04 23:05:06 +08:00
|
|
|
if [ -n "$1" ] ; then
|
|
|
|
|
case $1 in
|
|
|
|
|
stop)
|
|
|
|
|
--
|
|
|
|
|
2.27.0
|
|
|
|
|
|