mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -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
|
|
@ -168,10 +168,13 @@ struct pa_alsa_jack {
|
|||
pa_alsa_required_t required;
|
||||
pa_alsa_required_t required_any;
|
||||
pa_alsa_required_t required_absent;
|
||||
|
||||
pa_dynarray *ucm_devices; /* pa_alsa_ucm_device */
|
||||
};
|
||||
|
||||
pa_alsa_jack *pa_alsa_jack_new(pa_alsa_path *path, const char *name, const char *alsa_name);
|
||||
void pa_alsa_jack_free(pa_alsa_jack *jack);
|
||||
void pa_alsa_jack_add_ucm_device(pa_alsa_jack *jack, pa_alsa_ucm_device *device);
|
||||
|
||||
/* A path wraps a series of elements into a single entity which can be
|
||||
* used to control it as if it had a single volume slider, a single
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue