aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/oxygen/oxygen.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2008-01-14 08:57:05 +0100
committerJaroslav Kysela <perex@perex.cz>2008-01-31 17:29:57 +0100
commit893e44ba5a7cc05d66b69806defc17dd762c3ba8 (patch)
tree7fea3aa02fcf9b56c43c22397191e639eeeb3905 /sound/pci/oxygen/oxygen.h
parent[ALSA] oxygen: use an array of snd_kcontrol pointers (diff)
downloadlinux-dev-893e44ba5a7cc05d66b69806defc17dd762c3ba8.tar.xz
linux-dev-893e44ba5a7cc05d66b69806defc17dd762c3ba8.zip
[ALSA] oxygen: make line-in switch exclusive
The line input cannot be mixed with the other inputs, so we have to mute the other input switches when it is selected. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/pci/oxygen/oxygen.h')
-rw-r--r--sound/pci/oxygen/oxygen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/oxygen/oxygen.h b/sound/pci/oxygen/oxygen.h
index a10c37788059..4a0c6634ac96 100644
--- a/sound/pci/oxygen/oxygen.h
+++ b/sound/pci/oxygen/oxygen.h
@@ -18,6 +18,10 @@
enum {
CONTROL_SPDIF_PCM,
CONTROL_SPDIF_INPUT_BITS,
+ CONTROL_MIC_CAPTURE_SWITCH,
+ CONTROL_LINE_CAPTURE_SWITCH,
+ CONTROL_CD_CAPTURE_SWITCH,
+ CONTROL_AUX_CAPTURE_SWITCH,
CONTROL_COUNT
};