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

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

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/596>
This commit is contained in:
Alper Nebi Yasak 2021-11-16 20:27:29 +03:00
parent 084d70a1e2
commit 4821a0569e
2 changed files with 16 additions and 23 deletions

View file

@ -263,7 +263,7 @@ struct pa_alsa_ucm_mapping_context {
pa_direction_t direction;
pa_alsa_ucm_device *ucm_device;
pa_idxset *ucm_modifiers;
pa_alsa_ucm_modifier *ucm_modifier;
};
struct pa_alsa_ucm_profile_context {