]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: via82xx: allow changing the initial DXS volume
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Jul 2010 14:27:24 +0000 (16:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jul 2010 15:25:27 +0000 (17:25 +0200)
commite14ccef2e4e63303f06ee54481608fda6e65e3be
treebcc953c5284c1df6b9281bcdf5755662dcb7e545
parentecc5d7ce805c128b72cb1e8cbe1d08bb755e12c8
ALSA: via82xx: allow changing the initial DXS volume

As per-stream volume controls, the DXS controls are not intended to
adjust the overall sound level and so are initialized every time
a stream is opened.  However, there are special situations where one
wants to reduce the overall volume in the digital domain, i.e., before
the AC'97 codec's PCM volume control.  To allow this, add a module
parameter that sets the initial DXS volume.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Tested-by: Soeren D. Schulze <soeren.d.schulze@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/via82xx.c