summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/streamwidget.cc4
-rw-r--r--src/streamwidget.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/streamwidget.cc b/src/streamwidget.cc
index 322308d..96eecb7 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -39,12 +39,16 @@ StreamWidget::StreamWidget(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Gl
//deviceCombo->set_active(false);
//deviceCombo->signal_clicked().connect(sigc::mem_fun(*this, &MinimalStreamWidget::onDeviceChange));
+ terminateButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onKill));
muteToggleButton->signal_clicked().connect(sigc::mem_fun(*this, &StreamWidget::onMuteToggleButton));
for (unsigned i = 0; i < PA_CHANNELS_MAX; i++)
channelWidgets[i] = NULL;
}
+void StreamWidget::onKill() {
+}
+
void StreamWidget::setChannelMap(const pa_channel_map &m, bool can_decibel) {
channelMap = m;
diff --git a/src/streamwidget.h b/src/streamwidget.h
index 3b4566d..c7d68d9 100644
--- a/src/streamwidget.h
+++ b/src/streamwidget.h
@@ -45,6 +45,7 @@ public:
ChannelWidget *channelWidgets[PA_CHANNELS_MAX];
+ virtual void onKill();
virtual void onDeviceChange() = 0;
virtual void onMuteToggleButton();