diff options
| author | Lennart Poettering <lennart@poettering.net> | 2009-02-03 02:23:46 +0100 | 
|---|---|---|
| committer | Lennart Poettering <lennart@poettering.net> | 2009-02-03 02:23:46 +0100 | 
| commit | e47d03dea446d0387a7c07a470c9c680537d9c34 (patch) | |
| tree | 59b0e807d5a3c56aa69421a8412972d7e154e748 /src/pulse/def.h | |
| parent | c61ad2a70619fc2fcec209838b37e047df2d1d2d (diff) | |
implement PA_STREAM_FAIL_ON_SUSPEND logic
Diffstat (limited to 'src/pulse/def.h')
| -rw-r--r-- | src/pulse/def.h | 8 | 
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h index 7517a7aa..85ac701d 100644 --- a/src/pulse/def.h +++ b/src/pulse/def.h @@ -237,12 +237,17 @@ typedef enum pa_stream_flags {       * checked whether the device this stream is connected to should       * auto-suspend. \since 0.9.15 */ -    PA_STREAM_START_UNMUTED = 0x10000U +    PA_STREAM_START_UNMUTED = 0x10000U,      /**< Create in unmuted state. If neither PA_STREAM_START_UNMUTED       * nor PA_STREAM_START_MUTED it is left to the server to decide       * whether to create the stream in muted or in unmuted       * state. \since 0.9.15 */ +    PA_STREAM_FAIL_ON_SUSPEND = 0x20000U +    /**< If the sink/source this stream is connected to is suspended +     * during the creation of this stream, cause it to fail. If the +     * sink/source is being suspended during creation of this stream, +     * make sure this stream is terminated. \since 0.9.15 */  } pa_stream_flags_t;  /** \cond fulldocs */ @@ -268,6 +273,7 @@ typedef enum pa_stream_flags {  #define PA_STREAM_EARLY_REQUESTS PA_STREAM_EARLY_REQUESTS  #define PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND PA_STREAM_DONT_INHIBIT_AUTO_SUSPEND  #define PA_STREAM_START_UNMUTED PA_STREAM_START_UNMUTED +#define PA_STREAM_FAIL_ON_SUSPEND PA_STREAM_FAIL_ON_SUSPEND  /** \endcond */  | 
