aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-06-16 22:37:45 -0700
committerChris Robinson <[email protected]>2012-06-16 22:37:45 -0700
commit90ca6675c2a433a99d3cc3086cc18428b1088b10 (patch)
treeac7b81908328a1d44406c03584dcde5b6b014410 /Alc/backends
parent0db9730a502eb38f6b7a6c90dd89f38f73f18880 (diff)
Allow PulseAudio to spawn a server by default
Since only one backend is used at a time now, the issues with device ownership aren't really prevelant anymore. An application that tries to open all enumerated devices won't run into the problem of spawning a server and end up preventing other backend devices from working.
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/pulseaudio.c b/Alc/backends/pulseaudio.c
index 3016283d..516fe932 100644
--- a/Alc/backends/pulseaudio.c
+++ b/Alc/backends/pulseaudio.c
@@ -1398,7 +1398,7 @@ ALCboolean alc_pulse_init(BackendFuncs *func_list)
pa_threaded_mainloop *loop;
pulse_ctx_flags = 0;
- if(!GetConfigValueBool("pulse", "spawn-server", 0))
+ if(!GetConfigValueBool("pulse", "spawn-server", 1))
pulse_ctx_flags |= PA_CONTEXT_NOAUTOSPAWN;
if((loop=pa_threaded_mainloop_new()) &&