summaryrefslogtreecommitdiffstats
path: root/include/sound/sb.h
diff options
context:
space:
mode:
authorAndreas Mohr <andim2@users.sourceforge.net>2009-02-22 20:33:41 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-23 07:47:52 +0100
commitce71bfd1aa6d6a4069929eeceed254e13400ddf4 (patch)
tree3eb1f38e734346585a1c72351ccd60edb8749292 /include/sound/sb.h
parent4c9f1d3ed7e5f910b66dc4d1456cfac17e58cf0e (diff)
downloadlinux-ce71bfd1aa6d6a4069929eeceed254e13400ddf4.tar.bz2
ALSA: ALS4000, slight mixer improvements
- add 8kHz / 20 kHz low-pass filter switch control - add ALS4000 Mono capture route control - add annotations to specs pages - improve ALS4000 PM saved regs selection (remove SB dummy register, add missing ones) - add some missing ALS4000 register defines - constify two variables Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/sb.h')
-rw-r--r--include/sound/sb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/sb.h b/include/sound/sb.h
index 85f93c5fe1e4..4e62ee1e4115 100644
--- a/include/sound/sb.h
+++ b/include/sound/sb.h
@@ -249,6 +249,7 @@ struct snd_sb {
#define SB_ALS4000_3D_AUTO_MUTE 0x52
#define SB_ALS4000_ANALOG_BLOCK_CTRL 0x53
#define SB_ALS4000_3D_DELAYLINE_PATTERN 0x54
+#define SB_ALS4000_CR3_CONFIGURATION 0xc3 /* bit 7 is Digital Loop Enable */
#define SB_ALS4000_QSOUND 0xdb
/* IRQ setting bitmap */
@@ -330,7 +331,8 @@ enum {
SB_MIX_DOUBLE,
SB_MIX_INPUT_SW,
SB_MIX_CAPTURE_PRO,
- SB_MIX_CAPTURE_DT019X
+ SB_MIX_CAPTURE_DT019X,
+ SB_MIX_MONO_CAPTURE_ALS4K
};
#define SB_MIXVAL_DOUBLE(left_reg, right_reg, left_shift, right_shift, mask) \