From: Felipe Sateler <fsateler@debian.org>
Date: Fri, 26 Feb 2021 19:29:30 -0300
Subject: Disable autospawn by default

Also reflect Debian's disabled autospawn default in the commented client
configuration template.

Bug-Debian: https://bugs.debian.org/1017800
---
 src/pulse/client-conf.c | 2 +-
 src/pulse/client.conf.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/pulse/client-conf.c b/src/pulse/client-conf.c
index 1daaf91..bf88723 100644
--- a/src/pulse/client-conf.c
+++ b/src/pulse/client-conf.c
@@ -63,7 +63,7 @@ static const pa_client_conf default_conf = {
     .cookie_from_x11_valid = false,
     .cookie_file_from_application = NULL,
     .cookie_file_from_client_conf = NULL,
-    .autospawn = true,
+    .autospawn = false,
     .disable_shm = false,
     .disable_memfd = false,
     .shm_size = 0,
diff --git a/src/pulse/client.conf.in b/src/pulse/client.conf.in
--- a/src/pulse/client.conf.in
+++ b/src/pulse/client.conf.in
@@ -22,7 +22,7 @@
 ; default-server =
 ; default-dbus-server =
 
-; autospawn = yes
+; autospawn = no
 ; daemon-binary = @PA_BINARY@
 ; extra-arguments = --log-target=syslog
 
