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
|
|
@ -46,6 +46,10 @@ struct pa_device_port {
|
|||
unsigned priority;
|
||||
pa_port_available_t available; /* PA_PORT_AVAILABLE_UNKNOWN, PA_PORT_AVAILABLE_NO or PA_PORT_AVAILABLE_YES */
|
||||
|
||||
pa_hashmap *profiles; /* Can be NULL. Does not own the profiles */
|
||||
pa_bool_t is_input:1;
|
||||
pa_bool_t is_output:1;
|
||||
|
||||
/* .. followed by some implementation specific data */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue