aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <d@falconindy.com>2013-04-08 12:22:51 -0700
committerDave Reisner <d@falconindy.com>2013-04-08 12:22:51 -0700
commit69222194e66416020aaac794279b997a774a08fc (patch)
tree09c83c297567e2fea4568fc0869e251afa5a9fe2
parentaf38a7762b23a950618801ca8d8bbfec87bb02a7 (diff)
parentebf3e562f93e9eed82aeae22b673513fc6c90689 (diff)
downloadmirror-ponymix-69222194e66416020aaac794279b997a774a08fc.tar.gz
mirror-ponymix-69222194e66416020aaac794279b997a774a08fc.tar.bz2
mirror-ponymix-69222194e66416020aaac794279b997a774a08fc.zip
Merge pull request #16 from vodik/master
Don't connect to pulseaudio with PA_CONTEXT_NOFAIL
-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);
}