diff options
author | Marc-André Lureau <marc-andre.lureau@nokia.com> | 2009-03-20 16:51:28 +0200 |
---|---|---|
committer | Marc-André Lureau <marc-andre.lureau@nokia.com> | 2009-03-30 21:05:31 +0300 |
commit | 1dad83b73c625a8576466b63bb80d666394d9b93 (patch) | |
tree | 5788d1af69df2e62668ca8b34c44ff5e601536e1 /src/pulse/def.h | |
parent | b4ef64d198016816568b7b1285afcffeb6fa8382 (diff) |
pulse: client connect to dbus
Diffstat (limited to 'src/pulse/def.h')
-rw-r--r-- | src/pulse/def.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h index 9418e96f..48b6f3ec 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 */ |