summaryrefslogtreecommitdiffstats
path: root/src/pulse/def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-30 20:26:27 +0200
committerLennart Poettering <lennart@poettering.net>2009-03-30 20:26:27 +0200
commitd33be12fde0910e4a7515c3f6a8b8f2165624cb0 (patch)
tree43b62e47c2a673eeabca86136a3c73aa6233e1fc /src/pulse/def.h
parent649c982222f520fdd4afae8880c622437d4ba585 (diff)
parent8491b47a5164fdff10724bfe74411791dc0ff912 (diff)
Merge commit 'elmarco/dbus'
Diffstat (limited to 'src/pulse/def.h')
-rw-r--r--src/pulse/def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h
index 9928f9bd..cae08942 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -109,13 +109,16 @@ typedef enum pa_operation_state {
/** Some special flags for contexts. */
typedef enum pa_context_flags {
- PA_CONTEXT_NOAUTOSPAWN = 1
+ PA_CONTEXT_NOAUTOSPAWN = 0x0001U,
/**< Disabled autospawning of the PulseAudio daemon if required */
+ PA_CONTEXT_NOFAIL = 0x0002U
+ /**< Don't fail if the daemon is not available when pa_context_connect() is called, instead enter PA_CONTEXT_CONNECTING state and wait for the daemon to appear. \since 0.9.15 */
} pa_context_flags_t;
/** \cond fulldocs */
/* Allow clients to check with #ifdef for those flags */
#define PA_CONTEXT_NOAUTOSPAWN PA_CONTEXT_NOAUTOSPAWN
+#define PA_CONTEXT_NOFAIL PA_CONTEXT_NOFAIL
/** \endcond */
/** The direction of a pa_stream object */