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) {
}
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");
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) {