[alsa-devel] [PATCH 04/20] ALSA: hda - Allow aamix as a capture source

Raymond Yau superquad.vortex2 at gmail.com
Mon Feb 11 13:53:13 CET 2013


2013/1/15 Takashi Iwai <tiwai at suse.de>:
> 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.

> +       if (mixer && spec->add_stereo_mix_input) {
> +               err = parse_capture_source(codec, mixer, num_adcs,
> +                                          "Stereo Mix", 0);
> +               if (err < 0)
> +                       return err;
>         }


Can this feature enabled automatically if auto mic is not enabled ?

since this feature cannot be enabled when auto mic is enabled

-       if (mixer && spec->add_stereo_mix_input) {
+       if (mixer && !spec->auto_mic) {


More information about the Alsa-devel mailing list