mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
hdspmixer: Use constant instead of hardcoded number of cards.
Again, use MAX_CARDS instead of "3", just in case MAX_CARDS should change some day. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
015579556d
commit
6cc4d395f4
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ private:
|
|||
HDSPMixerWindow *basew;
|
||||
void update_child(Fl_Widget& widget);
|
||||
public:
|
||||
HDSPMixerOutputData *data[3][3][8]; /* data[card][mode(ss/ds/qs)][preset number] */
|
||||
HDSPMixerOutputData *data[MAX_CARDS][3][8]; /* data[card][mode(ss/ds/qs)][preset number] */
|
||||
HDSPMixerFader *fader;
|
||||
HDSPMixerGain *gain;
|
||||
HDSPMixerMeter *meter;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue