]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Don't disable PulseAudio autospawn
authorMike Brady <mikebrady@eircom.net>
Mon, 30 Oct 2017 09:45:38 +0000 (10:45 +0100)
committerMike Brady <mikebrady@eircom.net>
Mon, 30 Oct 2017 09:45:38 +0000 (10:45 +0100)
audio_pa.c

index 4e3d038a226ff556717260f78e25e95913034977..1371b029de94553be6c4b534eda52d2357b3bdd4 100644 (file)
@@ -88,7 +88,7 @@ static int init(int argc, char **argv) {
 
   // Start the mainloop
   assert(pa_threaded_mainloop_start(mainloop) == 0);
-  assert(pa_context_connect(context, NULL, PA_CONTEXT_NOAUTOSPAWN, NULL) == 0);
+  assert(pa_context_connect(context, NULL, 0, NULL) == 0);
 
   // Wait for the context to be ready
   for (;;) {