summaryrefslogtreecommitdiffstats
path: root/src/pulse/def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-02-12 03:18:05 +0100
committerLennart Poettering <lennart@poettering.net>2009-02-12 03:18:05 +0100
commit823431e44732a0824658c82de29aaa92f8f39f79 (patch)
treebdad5ae9f4e0f47221905ccedf0c192c09c86aaf /src/pulse/def.h
parent4bd9737725b85d90a7cf12b82528c2de70a7fbfe (diff)
allow sending meta/policy events to clients
Diffstat (limited to 'src/pulse/def.h')
-rw-r--r--src/pulse/def.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h
index d4fa821a..7f3a0c5d 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -840,6 +840,16 @@ static inline int PA_SOURCE_IS_OPENED(pa_source_state_t x) {
/** A generic free() like callback prototype */
typedef void (*pa_free_cb_t)(void *p);
+/** A stream policy/meta event requesting that an application should
+ * cork a specific stream. See pa_stream_event_cb_t for more
+ * information, \since 0.9.15 */
+#define PA_STREAM_EVENT_REQUEST_CORK "request-cork"
+
+/** A stream policy/meta event requesting that an application should
+ * cork a specific stream. See pa_stream_event_cb_t for more
+ * information, \since 0.9.15 */
+#define PA_STREAM_EVENT_REQUEST_UNCORK "request-uncork"
+
PA_C_DECL_END
#endif