mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
Cards now has ports directly, and device port has list of profiles
This forms the base for being able to expose all ports of all profiles (even inactive ones) to clients. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
d9685ec85d
commit
0dced7f275
4 changed files with 22 additions and 1 deletions
|
|
@ -63,6 +63,8 @@ struct pa_card {
|
|||
pa_hashmap *profiles;
|
||||
pa_card_profile *active_profile;
|
||||
|
||||
pa_hashmap *ports;
|
||||
|
||||
pa_bool_t save_profile:1;
|
||||
|
||||
void *userdata;
|
||||
|
|
@ -80,6 +82,8 @@ typedef struct pa_card_new_data {
|
|||
pa_hashmap *profiles;
|
||||
char *active_profile;
|
||||
|
||||
pa_hashmap *ports;
|
||||
|
||||
pa_bool_t namereg_fail:1;
|
||||
|
||||
pa_bool_t save_profile:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue