From: Lennart Poettering Date: Mon, 20 Feb 2006 23:29:46 +0000 (+0000) Subject: change calls of pa_context_connect() to pass flags arugment correctly X-Git-Tag: 1.0_branch~3985 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=31a027b78b5081903ecdde5cff1b42770c93b075;p=profile%2Fivi%2Fpulseaudio.git change calls of pa_context_connect() to pass flags arugment correctly git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@533 fefdeb5f-60dc-0310-8127-8f9354f1896f --- diff --git a/src/utils/pacat.c b/src/utils/pacat.c index 4e126c8..6efc3a4 100644 --- a/src/utils/pacat.c +++ b/src/utils/pacat.c @@ -509,7 +509,7 @@ int main(int argc, char *argv[]) { pa_context_set_state_callback(context, context_state_callback, NULL); /* Connect the context */ - pa_context_connect(context, server, 1, NULL); + pa_context_connect(context, server, 0, NULL); /* Run the main loop */ if (pa_mainloop_run(m, &ret) < 0) { diff --git a/src/utils/pactl.c b/src/utils/pactl.c index 86c4e7b..907746a 100644 --- a/src/utils/pactl.c +++ b/src/utils/pactl.c @@ -752,7 +752,7 @@ int main(int argc, char *argv[]) { } pa_context_set_state_callback(context, context_state_callback, NULL); - pa_context_connect(context, server, 1, NULL); + pa_context_connect(context, server, 0, NULL); if (pa_mainloop_run(m, &ret) < 0) { fprintf(stderr, "pa_mainloop_run() failed.\n"); diff --git a/src/utils/paplay.c b/src/utils/paplay.c index 5f985ee..4efb4cf 100644 --- a/src/utils/paplay.c +++ b/src/utils/paplay.c @@ -352,7 +352,7 @@ int main(int argc, char *argv[]) { pa_context_set_state_callback(context, context_state_callback, NULL); /* Connect the context */ - pa_context_connect(context, server, 1, NULL); + pa_context_connect(context, server, 0, NULL); /* Run the main loop */ if (pa_mainloop_run(m, &ret) < 0) {