]> git.alsa-project.org Git - alsa-tools.git/commit
hdspmixer: Show cardname in window title
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 7 Mar 2011 18:03:09 +0000 (19:03 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Mar 2011 12:04:56 +0000 (13:04 +0100)
commit7416c3a83ccea3462b5f934991e2f86a9615a817
tree34a00c3b07cdc69da83dbc181e3698ee60bc3a29
parent1669acbe34410afef5d57c8b8f3bfecf878cce88
hdspmixer: Show cardname in window title

When running with more than one card, it isn't obvious which card is
shown.

Store the ALSA cardname in the corresponding class and show it in the
window title upon switching cards.

Also, don't show "(null)" but "(unsaved)" in case the user hasn't
selected a preset file.

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
hdspmixer/src/hdspmixer.cxx