enable auto-spawning by default

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2515 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2008-06-11 17:44:49 +00:00
parent b3444d6881
commit 1337afdee4
3 changed files with 3 additions and 3 deletions

View file

@ -58,7 +58,7 @@ static const pa_client_conf default_conf = {
.default_sink = NULL,
.default_source = NULL,
.default_server = NULL,
.autospawn = FALSE,
.autospawn = TRUE,
.disable_shm = FALSE,
.cookie_file = NULL,
.cookie_valid = FALSE,

View file

@ -25,7 +25,7 @@
; default-source =
; default-server =
; autospawn = no
; autospawn = yes
; daemon-binary = @PA_BINARY@
; extra-arguments = --log-target=syslog --exit-idle-time=5

View file

@ -816,7 +816,7 @@ int pa_context_connect(
/* The system wide instance */
c->server_list = pa_strlist_prepend(c->server_list, PA_SYSTEM_RUNTIME_PATH PA_PATH_SEP PA_NATIVE_DEFAULT_UNIX_SOCKET);
/* The old per-user instance path. This is supported only to easy upgrades */
/* The old per-user instance path. This is supported only to ease upgrades */
if ((legacy_dir = get_legacy_runtime_dir())) {
char *p = pa_sprintf_malloc("%s" PA_PATH_SEP PA_NATIVE_DEFAULT_UNIX_SOCKET, legacy_dir);
c->server_list = pa_strlist_prepend(c->server_list, p);