]> git.karo-electronics.de Git - mv-sheeva.git/commit
ALSA: hda - Implement dynamic loopback control for VIA codecs
authorTakashi Iwai <tiwai@suse.de>
Mon, 18 Jul 2011 10:49:25 +0000 (12:49 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Jul 2011 14:47:33 +0000 (16:47 +0200)
commit3214b9665c06f684011f169428963b20f8ac554b
treeae0a11d150f1fb7f65fb1aaf404a034f0f3acf1e
parent7b1655f5f21a9bd1eb8b478c5dab9b83de809edc
ALSA: hda - Implement dynamic loopback control for VIA codecs

This patch adds the dynamic control of analog-loopback for VIA codecs.

When the loopback is enabled, the inputs from line-ins and mics are
mixed with the front DAC, and sent to the front outputs.  The very same
input is routed to the headhpones and speakers in loopback mode.
However, since the loopback mix can't take other than the front DAC,
there is no longer individual volume controls for headphones and
speakers.  Once when the loopback control is off, these volumes take
effect.

Since the individual volumes are more desired in general use caess, the
loopback mode is set to off as default for now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_via.c