aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pulse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/pulse.cc b/pulse.cc
index 7f05bf6..e9cd28a 100644
--- a/pulse.cc
+++ b/pulse.cc
@@ -114,7 +114,7 @@ PulseClient::PulseClient(string client_name) :
pa_proplist_free(proplist);
pa_context_set_state_callback(context_, connect_state_cb, &state);
- pa_context_connect(context_, nullptr, PA_CONTEXT_NOFAIL, nullptr);
+ pa_context_connect(context_, nullptr, PA_CONTEXT_NOFLAGS, nullptr);
while (state != PA_CONTEXT_READY && state != PA_CONTEXT_FAILED) {
pa_mainloop_iterate(mainloop_, 1, nullptr);
}