alsa-ucm: Make mapping UCM contexts have only one device

After previous patches, we should be generating no combination ports, so
we don't need to store multiple devices per mapping. Simplify the code
based on this.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
Wim Taymans 2023-03-20 17:24:12 +01:00
parent b02c8ba153
commit 31cde774c5
3 changed files with 39 additions and 72 deletions

View file

@ -268,7 +268,7 @@ struct pa_alsa_ucm_mapping_context {
pa_alsa_ucm_config *ucm;
pa_direction_t direction;
pa_idxset *ucm_devices;
pa_alsa_ucm_device *ucm_device;
pa_idxset *ucm_modifiers;
};