]> git.alsa-project.org Git - alsa-tools.git/commit
hdspmixer: Fix metering for non-MADI cards
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Thu, 24 Feb 2011 20:33:31 +0000 (21:33 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Feb 2011 10:11:19 +0000 (11:11 +0100)
commit646eacb626355a7010aab901dbe4dcfa66ede70f
tree58ec6c52a6b8289e63b1a9985f8592fcd8ce5209
parent97e96addffef14f71739bdf1e51030cce854904b
hdspmixer: Fix metering for non-MADI cards

Currently, hdsp and hdspm use different ioctls. Consequently, the metering
is wrong. To avoid code duplication, use pointers to the corresponding
struct members.

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