mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
acp: use the input ports for the input mappings
This commit is contained in:
parent
7c819320c7
commit
e7ca1b474e
1 changed files with 1 additions and 1 deletions
|
|
@ -1379,7 +1379,7 @@ int acp_card_set_profile(struct acp_card *card, uint32_t new_index, uint32_t fla
|
||||||
PA_IDXSET_FOREACH(am, np->input_mappings, idx) {
|
PA_IDXSET_FOREACH(am, np->input_mappings, idx) {
|
||||||
if (impl->use_ucm)
|
if (impl->use_ucm)
|
||||||
/* Update ports priorities */
|
/* Update ports priorities */
|
||||||
pa_alsa_ucm_add_ports_combination(am->output.ports, &am->ucm_context,
|
pa_alsa_ucm_add_ports_combination(am->input.ports, &am->ucm_context,
|
||||||
false, impl->ports, np, NULL);
|
false, impl->ports, np, NULL);
|
||||||
device_enable(impl, am, &am->input);
|
device_enable(impl, am, &am->input);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue