correct autospawning

git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@202 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-09-15 13:03:25 +00:00
parent 935826f4f3
commit 8c110d904d
13 changed files with 187 additions and 136 deletions

View file

@ -130,7 +130,7 @@ struct pa_simple* pa_simple_new(
if (!(p->context = pa_context_new(pa_mainloop_get_api(p->mainloop), name)))
goto fail;
pa_context_connect(p->context, server);
pa_context_connect(p->context, server, 1, NULL);
/* Wait until the context is ready */
while (pa_context_get_state(p->context) != PA_CONTEXT_READY) {