acp: undo upstream change that breaks duplex mode

This commit is contained in:
Wim Taymans 2020-12-17 13:05:37 +01:00
parent 92f4831c9f
commit cdb6c94c8e

View file

@ -5131,7 +5131,7 @@ void pa_alsa_profile_set_probe(
if (p->output_mappings)
PA_IDXSET_FOREACH(m, p->output_mappings, idx)
if (m->output_pcm) {
found_output = true;
found_output |= !p->fallback_output;
mapping_paths_probe(m, p, PA_ALSA_DIRECTION_OUTPUT, used_paths, mixers);
pa_alsa_init_proplist_pcm(NULL, m->output_proplist, m->output_pcm);
}
@ -5139,7 +5139,7 @@ void pa_alsa_profile_set_probe(
if (p->input_mappings)
PA_IDXSET_FOREACH(m, p->input_mappings, idx)
if (m->input_pcm) {
found_input = true;
found_input |= !p->fallback_input;
mapping_paths_probe(m, p, PA_ALSA_DIRECTION_INPUT, used_paths, mixers);
pa_alsa_init_proplist_pcm(NULL, m->input_proplist, m->input_pcm);
}