mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
add new pa_card object as a way to logically combine multiple sinks and sources
This commit is contained in:
parent
aeb0707f12
commit
b6deb0cc4c
12 changed files with 327 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue