summaryrefslogtreecommitdiffstats
path: root/src/pulse
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-15 18:29:16 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-15 18:29:16 +0100
commitb6deb0cc4c169b5ef9450586fc66b0b823ef249c (patch)
treeaae25bfd17edabd2ded8bacfeb05034ad2602501 /src/pulse
parentaeb0707f1287c481d407d8e8f4a43f86661fdb23 (diff)
add new pa_card object as a way to logically combine multiple sinks and sources
Diffstat (limited to 'src/pulse')
-rw-r--r--src/pulse/def.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/pulse/def.h b/src/pulse/def.h
index a2e29143..03e8416e 100644
--- a/src/pulse/def.h
+++ b/src/pulse/def.h
@@ -391,7 +391,10 @@ typedef enum pa_subscription_mask {
PA_SUBSCRIPTION_MASK_AUTOLOAD = 0x0100U,
/**< Autoload table events. */
- PA_SUBSCRIPTION_MASK_ALL = 0x01ffU
+ PA_SUBSCRIPTION_MASK_CARD = 0x0200U,
+ /**< Card events. \since 0.9.15 */
+
+ PA_SUBSCRIPTION_MASK_ALL = 0x03ffU
/**< Catch all events */
} pa_subscription_mask_t;
@@ -424,6 +427,9 @@ typedef enum pa_subscription_event_type {
PA_SUBSCRIPTION_EVENT_AUTOLOAD = 0x0008U,
/**< Event type: Autoload table changes. */
+ PA_SUBSCRIPTION_EVENT_CARD = 0x0009U,
+ /**< Event type: Card \since 0.9.15 */
+
PA_SUBSCRIPTION_EVENT_FACILITY_MASK = 0x000FU,
/**< A mask to extract the event type from an event value */