summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/core.h
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/pulsecore/core.h
parentaeb0707f1287c481d407d8e8f4a43f86661fdb23 (diff)
add new pa_card object as a way to logically combine multiple sinks and sources
Diffstat (limited to 'src/pulsecore/core.h')
-rw-r--r--src/pulsecore/core.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h
index f1f38ef1..87ea4ab6 100644
--- a/src/pulsecore/core.h
+++ b/src/pulsecore/core.h
@@ -79,6 +79,9 @@ typedef enum pa_core_hook {
PA_CORE_HOOK_CLIENT_NEW,
PA_CORE_HOOK_CLIENT_PUT,
PA_CORE_HOOK_CLIENT_UNLINK,
+ PA_CORE_HOOK_CARD_NEW,
+ PA_CORE_HOOK_CARD_PUT,
+ PA_CORE_HOOK_CARD_UNLINK,
PA_CORE_HOOK_MAX
} pa_core_hook_t;
@@ -96,7 +99,7 @@ struct pa_core {
pa_mainloop_api *mainloop;
/* idxset of all kinds of entities */
- pa_idxset *clients, *sinks, *sources, *sink_inputs, *source_outputs, *modules, *scache, *autoload_idxset;
+ pa_idxset *clients, *cards, *sinks, *sources, *sink_inputs, *source_outputs, *modules, *scache, *autoload_idxset;
/* Some hashmaps for all sorts of entities */
pa_hashmap *namereg, *autoload_hashmap, *shared;