]> git.alsa-project.org Git - alsa-tools.git/commit
echomixer: Fix echomixer to work with the new drivers
authorGiuliano Pochini <pochini@shiny.it>
Sun, 15 Mar 2009 20:35:09 +0000 (21:35 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 16 Mar 2009 07:48:48 +0000 (08:48 +0100)
commitcf4b9bcad4eff6e8155203dc8e0782561bbb57a9
treeeba2eb9a9b3a47f880d256ed2e4bd6aab446a6f7
parent8e2e19c8e8617a11e55abfd07c75801050cee18d
echomixer: Fix echomixer to work with the new drivers

There is a long standing bug in the drivers for cards with a vmixer because
I overlooked a detail in the c++ generic driver by echoaudio. Those cards
do not have a line-out volume control. It is a virtual control provided by
the generic driver. The bug is harmless because the DSP just ignores the
command to change the volume.
Since that control has been removed, echomixer must be updated. With this
patch it uses the vmixer to fake the line-out volume.

This patch makes echomixer work with the new drivers.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
echomixer/echomixer.c