summaryrefslogtreecommitdiffstats
path: root/src/pulsecore
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/pulsecore
parenta3762a2f9836b1a5f94eb0c69b24bd1839cb1205 (diff)
pulse: share private enum values with client side
Diffstat (limited to 'src/pulsecore')
-rw-r--r--src/pulsecore/sink.h9
-rw-r--r--src/pulsecore/source.h9
2 files changed, 0 insertions, 18 deletions
diff --git a/src/pulsecore/sink.h b/src/pulsecore/sink.h
index 382b2d0e..89ed6d4d 100644
--- a/src/pulsecore/sink.h
+++ b/src/pulsecore/sink.h
@@ -43,15 +43,6 @@ typedef struct pa_sink pa_sink;
#define PA_MAX_INPUTS_PER_SINK 32
-/* anonymous enum extending pa_sink_state_t */
-enum {
- PA_SINK_INIT = -2,
- /* Initialization state */
-
- PA_SINK_UNLINKED = -3
- /* The state when the sink is getting unregistered and removed from client access */
-};
-
/* Returns true if sink is linked: registered and accessible from client side. */
static inline pa_bool_t PA_SINK_IS_LINKED(pa_sink_state_t x) {
return x == PA_SINK_RUNNING || x == PA_SINK_IDLE || x == PA_SINK_SUSPENDED;
diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h
index 369da435..336599d6 100644
--- a/src/pulsecore/source.h
+++ b/src/pulsecore/source.h
@@ -45,15 +45,6 @@ typedef struct pa_source pa_source;
#define PA_MAX_OUTPUTS_PER_SOURCE 32
-/* anonymous enum extending pa_source_state_t */
-enum {
- PA_SOURCE_INIT = -2,
- /* Initialization state */
-
- PA_SOURCE_UNLINKED = -3
- /* The state when the source is getting unregistered and removed from client access */
-};
-
/* Returns true if source is linked: registered and accessible from client side. */
static inline pa_bool_t PA_SOURCE_IS_LINKED(pa_source_state_t x) {
return x == PA_SOURCE_RUNNING || x == PA_SOURCE_IDLE || x == PA_SOURCE_SUSPENDED;