mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
alsa: Add associations between jacks, UCM devices and UCM ports
These associations will be used by subsequent UCM jack detection refactoring work.
This commit is contained in:
parent
d7ce78b234
commit
40714b6bcc
4 changed files with 90 additions and 2 deletions
|
|
@ -142,6 +142,11 @@ struct pa_alsa_ucm_device {
|
|||
pa_idxset *conflicting_devices;
|
||||
pa_idxset *supported_devices;
|
||||
|
||||
/* One device may be part of multiple ports, since each device has
|
||||
* a dedicated port, and in addition to that we sometimes generate ports
|
||||
* that represent combinations of devices. */
|
||||
pa_dynarray *ucm_ports; /* struct ucm_port */
|
||||
|
||||
pa_alsa_jack *jack;
|
||||
};
|
||||
|
||||
|
|
@ -184,6 +189,7 @@ struct pa_alsa_ucm_config {
|
|||
|
||||
PA_LLIST_HEAD(pa_alsa_ucm_verb, verbs);
|
||||
PA_LLIST_HEAD(pa_alsa_jack, jacks);
|
||||
pa_dynarray *ports; /* struct ucm_port */
|
||||
};
|
||||
|
||||
struct pa_alsa_ucm_mapping_context {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue