sink/sourcewidget: Move the index and card_index to the devicewidget

This is a minor cleanup that moves the index of the sink/source and the
card_index from the sink/source widget to the device widget.
This commit is contained in:
poljar (Damir Jelić) 2012-07-26 15:42:10 +02:00 committed by Tanu Kaskinen
parent 1a23cdfe6d
commit 8af6520c60
3 changed files with 2 additions and 2 deletions

View File

@ -39,6 +39,7 @@ public:
Glib::ustring name; Glib::ustring name;
Glib::ustring description; Glib::ustring description;
uint32_t index, card_index;
Gtk::ToggleButton *lockToggleButton, *muteToggleButton, *defaultToggleButton; Gtk::ToggleButton *lockToggleButton, *muteToggleButton, *defaultToggleButton;

View File

@ -41,7 +41,7 @@ public:
static SinkWidget* create(MainWindow* mainWindow); static SinkWidget* create(MainWindow* mainWindow);
SinkType type; SinkType type;
uint32_t index, monitor_index, card_index; uint32_t monitor_index;
bool can_decibel; bool can_decibel;
#if HAVE_EXT_DEVICE_RESTORE_API #if HAVE_EXT_DEVICE_RESTORE_API

View File

@ -31,7 +31,6 @@ public:
static SourceWidget* create(MainWindow* mainWindow); static SourceWidget* create(MainWindow* mainWindow);
SourceType type; SourceType type;
uint32_t index, card_index;
bool can_decibel; bool can_decibel;
virtual void onMuteToggleButton(); virtual void onMuteToggleButton();