mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2026-03-27 07:58:28 -04:00
hdspmixer: Add a 9th pseudo preset
When switching cards, all current settings are lost. To have a place where to store them, let's add a virtual 9th preset which can be used as a temporary scratch pad. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c975369874
commit
0b018d9a23
7 changed files with 13 additions and 7 deletions
|
|
@ -38,7 +38,7 @@ HDSPMixerIOMixer::HDSPMixerIOMixer(int x, int y, int w, int h, int ch, int type)
|
|||
p_iomixer_xpm = iomixer_r_xpm;
|
||||
}
|
||||
for (int j = 0; j < MAX_CARDS; ++j) {
|
||||
for (int i = 0; i < 8; ++i) {
|
||||
for (int i = 0; i < NUM_PRESETS; ++i) {
|
||||
data[j][0][i] = new HDSPMixerStripData();
|
||||
data[j][1][i] = new HDSPMixerStripData();
|
||||
data[j][2][i] = new HDSPMixerStripData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue