]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: echoaudio: purge contradictions between dimension matrix members and total...
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 16 Jul 2016 13:24:32 +0000 (22:24 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sun, 17 Jul 2016 08:03:06 +0000 (10:03 +0200)
commitdc897117aaf4b4ccdf7dbb6b570a923861bb8db0
treef304223fc972237adeada76439a876bfdd5b4c52
parent257c3b09e249de4305cfdb5deb2dc9447fd08f81
ALSA: echoaudio: purge contradictions between dimension matrix members and total number of members

Currently, sound device drivers for PCI cards produced by Echo Audio
support dimension parameter of element information. But the information
has contradictions to the number of members of each element. I guess that
this comes from the assumption that these sound cards are used only by
'echomixer' in userspace. But ideally, they should be used with usual ALSA
control applications.

This commit removes the contradiction. As a result, 'Monitor Mixer Volume'
and 'VMixer Volume' elements are shown in usual ALSA control applications
such as 'amixer' and 'alsamixer' in series.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c