summaryrefslogtreecommitdiffstats
path: root/Alc/pulseaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/pulseaudio.c')
-rw-r--r--Alc/pulseaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index 85a82762..6ba0255a 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -250,7 +250,7 @@ static ALCboolean pulse_open(ALCdevice *device, ALCchar *device_name, ALCenum fo
pa_context_set_state_callback(data->context, context_state_callback, data);
- if(pa_context_connect(data->context, NULL, 0, NULL) < 0)
+ if(pa_context_connect(data->context, NULL, PA_CONTEXT_NOAUTOSPAWN, NULL) < 0)
{
AL_PRINT("Context did not connect: %s\n",
pa_strerror(pa_context_errno(data->context)));