]> err.no Git - linux-2.6/commit
[ALSA] ca0106: Add analog mute controls for cards with SPI DAC
authorTrent Piepho <xyzzy@speakeasy.org>
Tue, 24 Jul 2007 10:06:16 +0000 (12:06 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:57:55 +0000 (15:57 +0200)
commitb18cd538a92247307247a53f57c477edbcedbb79
tree0fd32216c26bc78f95be8b8f56052e370f7f7f43
parent69b311a4dabc9163288be1fe993cb7db47541e67
[ALSA] ca0106: Add analog mute controls for cards with SPI DAC

Add four mute controls for the analog output channels for cards that use
an SPI DAC, like the SB0570 SB Live! 24-bit / Audigy SE.  The Wolfson DAC
doesn't support muting left/right so the controls are mono.
The chip state struct gets a 32-byte array to act as a shadow of the spi
dac registers.  Only two registers are used for mute, but more would be
needed for analog gain, de-emphasis, DAC power down, phase inversion, and
other features.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ca0106/ca0106.h
sound/pci/ca0106/ca0106_main.c
sound/pci/ca0106/ca0106_mixer.c