summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-09 09:14:23 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:44:21 +0100
commitf3fc0b0b1fe31e0ec9a72ab85b421e74c696f00d (patch)
tree6f80a0b103d00601f7b9566309f40dc088c83870 /sound/pci/hda/hda_generic.h
parent3a65bcdc577a338712c2eaefc194909de79d4982 (diff)
ALSA: hda - Allow aamix as a capture source
Since some codecs can choose the aamix as a capture source, we should support it as well. When spec->add_stereo_mix_input flag is set, the parser checks the availability of aamix as the input source, and adds the paths automatically when possible. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index 1763e33b90e..89683c7fe26 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -190,6 +190,7 @@ struct hda_gen_spec {
unsigned int vmaster_mute_enum:1; /* add vmaster mute mode enum */
unsigned int indep_hp:1; /* independent HP supported */
unsigned int indep_hp_enabled:1; /* independent HP enabled */
+ unsigned int add_stereo_mix_input:1; /* add aamix as a capture src */
/* loopback mixing mode */
bool aamix_mode;