]> git.alsa-project.org Git - alsa-tools.git/commit
hdspmixer: Initialize headphones out in presets
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 4 Apr 2011 12:34:30 +0000 (14:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2011 06:22:41 +0000 (08:22 +0200)
commitf9147bfc2cb94eb260e70b4791ca423fe56bf26d
treed0f1269e8ca47f7aa4f3310270231241de989898
parent92413b739e07d2451abfb95bae42bbbd74e60e15
hdspmixer: Initialize headphones out in presets

Cards like the multiface/digiface have additional headphones out. Those
were not initialized in the presets due to wrong loop boundaries:
maxdest represents the amount of physical stereo pairs, and chnls is
either equal or less, so the output fader array needs more iterations
than the playback section.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
hdspmixer/src/HDSPMixerWindow.cxx