]> git.alsa-project.org Git - alsa-tools.git/commit
hdspmixer: Don't use hardcoded number of cards.
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 28 Feb 2011 13:56:08 +0000 (14:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Feb 2011 14:55:23 +0000 (15:55 +0100)
commite728f0d073255abe2201ae44500ee66b9a33c57d
treeb1b84bbc42f7414c5c3250ec9d73312552cfd698
parentc3349a84eab57d02eb4604dc4a868e866e2e1913
hdspmixer: Don't use hardcoded number of cards.

We have introduced MAX_CARDS before to make the code more safe and
extendable, so it's just sane to use it all over the place.

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