alsa-mixer: Handle the index for ALSA mixer jack identifiers
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Tue, 22 Dec 2020 05:39:05 +0000 (13:39 +0800)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Wed, 30 Dec 2020 15:49:09 +0000 (15:49 +0000)
commitaad2fca0c90ef72c6f5d72e16073238eba9051a8
tree1bec89479db1f7b128b4a27a9802a493f3bfd224
parent3ecea410d79d398126b54579b422e2f16baede5f
alsa-mixer: Handle the index for ALSA mixer jack identifiers

Some systems have two jacks with same name but different index, we need
to take index into consideration to use both jacks.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/272>
src/modules/alsa/alsa-mixer.c
src/modules/alsa/alsa-mixer.h
src/modules/alsa/alsa-ucm.c
src/modules/alsa/alsa-util.c
src/modules/alsa/alsa-util.h
src/modules/alsa/module-alsa-card.c