mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
alsa-mixer: handle interface type (CARD,PCM) for mixer element lookups
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
dacfcbb09c
commit
f18b0c3402
5 changed files with 23 additions and 6 deletions
|
|
@ -1907,7 +1907,7 @@ static int jack_probe(pa_alsa_jack *j, pa_alsa_mapping *mapping, snd_mixer_t *m)
|
|||
j->append_pcm_to_name = false;
|
||||
}
|
||||
|
||||
has_control = pa_alsa_mixer_find(m, j->alsa_name, 0) != NULL;
|
||||
has_control = pa_alsa_mixer_find_card(m, j->alsa_name, 0) != NULL;
|
||||
pa_alsa_jack_set_has_control(j, has_control);
|
||||
|
||||
if (j->has_control) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue