mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
correct autospawning
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@202 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
935826f4f3
commit
8c110d904d
13 changed files with 187 additions and 136 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue