]> git.alsa-project.org Git - alsa-tools.git/commit
hdspmixer: Save preset before switching cards
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 4 Apr 2011 12:34:28 +0000 (14:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2011 06:22:15 +0000 (08:22 +0200)
commit7a865ce04036ee092a07a131c1bc3b38ae810c9c
treea157438a115ba7158288e6824279269d630e7c92
parent0b018d9a2361e9aac57cae6568ea60a45e859fbd
hdspmixer: Save preset before switching cards

When running with more than one card, switching cards would lose any
changes made to the current card. To avoid this inconvenience, save the
current settings to the virtual 9th preset and restore them when
switching back.

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