mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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
This commit is contained in:
parent
b008941f82
commit
31a027b78b
3 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue