aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/emu10k1
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2007-07-23 17:38:44 +0200
committerJaroslav Kysela <perex@perex.cz>2007-10-16 15:57:50 +0200
commit177a7cdbd1d88be5cbf957a2793a59ffa50cbef9 (patch)
tree639a747390b35fa8d1f7359b020faee466b2ba59 /sound/pci/emu10k1
parenteafe57084786d5711e434165297f13864697f9f9 (diff)
[ALSA] ymfpci: fix volume handling of the 44.1 kHz slot
The existing code for handling the 44.1 slot's volume has two problems: the volume is not affected by the 'Wave Playback Volume' mixer control, and the BUF441OUTVOL register, which is used to control the per- substream volume for this slot, uses a different scale than the gain fields of the other slots. This patch makes the BUF441OUTVOL register a shadow of the NATIVEDACOUTVOL register so that the Wave volume is consistent for all substreams. As a consequence of this, the per-substream PCM volume control gets no longer activated for the substream using this slot. The code for (de)activating the mixer control is moved from the open/close to the prepare/trigger_stop callbacks so that it is able to determine the substream's slot. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/emu10k1')
0 files changed, 0 insertions, 0 deletions