summaryrefslogtreecommitdiffstats
path: root/src/SinkInputWindow.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/SinkInputWindow.cc')
-rw-r--r--src/SinkInputWindow.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SinkInputWindow.cc b/src/SinkInputWindow.cc
index 1cf7476..5b2365d 100644
--- a/src/SinkInputWindow.cc
+++ b/src/SinkInputWindow.cc
@@ -15,6 +15,7 @@ SinkInputWindow::SinkInputWindow(BaseObjectType* cobject, const Glib::RefPtr<Gno
clientLabel(NULL),
ownerModuleLabel(NULL),
volumeLabel(NULL),
+ resampleMethodLabel(NULL),
closeButton(NULL),
toOwnerModuleButton(NULL),
toClientButton(NULL),
@@ -40,6 +41,7 @@ SinkInputWindow::SinkInputWindow(BaseObjectType* cobject, const Glib::RefPtr<Gno
refGlade->get_widget("volumeResetButton", volumeResetButton);
refGlade->get_widget("volumeMuteButton", volumeMuteButton);
refGlade->get_widget("killButton", killButton);
+ refGlade->get_widget("resampleMethodLabel", resampleMethodLabel);
closeButton->signal_clicked().connect(sigc::mem_fun(*this, &SinkInputWindow::onCloseButton));
toOwnerModuleButton->signal_clicked().connect(sigc::mem_fun(*this, &SinkInputWindow::onToOwnerModuleButton));
@@ -96,6 +98,8 @@ void SinkInputWindow::updateInfo(const SinkInputInfo &i) {
else
snprintf(t, sizeof(t), "%0.0f%% (-&#8734;dB)", percent);
volumeLabel->set_markup(t);
+
+ resampleMethodLabel->set_markup(i.resample_method);
set_title("Sink Input: "+i.name);