From b6deb0cc4c169b5ef9450586fc66b0b823ef249c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 15 Jan 2009 18:29:16 +0100 Subject: add new pa_card object as a way to logically combine multiple sinks and sources --- src/pulse/def.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/pulse/def.h') 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 */ -- cgit