summaryrefslogtreecommitdiffstats
path: root/src/pulse/def.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2009-01-16 15:53:27 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2009-01-20 00:16:18 +0200
commit310f433848b21a53def0a5a5ca0b3b2e6a2008ef (patch)
tree1ee02bc062ec4e132fd55a4d4bedd0f4a7e8be01 /src/pulse/def.h
parenta3762a2f9836b1a5f94eb0c69b24bd1839cb1205 (diff)
pulse: share private enum values with client side
Diffstat (limited to 'src/pulse/def.h')
-rw-r--r--src/pulse/def.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h
index 7dc753f9..8e8857c1 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -624,9 +624,17 @@ typedef enum pa_sink_state { /* enum serialized in u8 */
PA_SINK_IDLE = 1,
/**< When idle, the sink is playing but there is no non-corked sink-input attached to it \since 0.9.15 */
- PA_SINK_SUSPENDED = 2
+ PA_SINK_SUSPENDED = 2,
/**< When suspended, actual sink access can be closed, for instance \since 0.9.15 */
+ /* *** PRIVATE: server-side values *** */
+
+ PA_SINK_INIT = -2,
+ /* Initialization state */
+
+ PA_SINK_UNLINKED = -3
+ /* The state when the sink is getting unregistered and removed from client access */
+
} pa_sink_state_t;
/** Returns non-zero if sink is playing: running or idle. \since 0.9.15 */
@@ -685,9 +693,17 @@ typedef enum pa_source_state {
PA_SOURCE_IDLE = 1,
/**< When idle, the source is still recording but there is no non-corked source-output \since 0.9.15 */
- PA_SOURCE_SUSPENDED = 2
+ PA_SOURCE_SUSPENDED = 2,
/**< When suspended, actual source access can be closed, for instance \since 0.9.15 */
+ /* *** PRIVATE: server-side values *** */
+
+ PA_SOURCE_INIT = -2,
+ /* Initialization state */
+
+ PA_SOURCE_UNLINKED = -3
+ /* The state when the source is getting unregistered and removed from client access */
+
} pa_source_state_t;
/** Returns non-zero if source is recording: running or idle. \since 0.9.15 */