]> 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)
commit11784119de8db0b464ce3f0d43dd46c8f5139936
treef304223fc972237adeada76439a876bfdd5b4c52
parent10ae80fdf228998ca0eb40e2354d15d5a1a0a352
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