summaryrefslogtreecommitdiffstats
path: root/src/SourceOutputWindow.cc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-11-20 21:22:59 +0000
committerLennart Poettering <lennart@poettering.net>2004-11-20 21:22:59 +0000
commit03862cd31e9026e6f86619b467b3d65d527e1f6a (patch)
tree529f5b769ff3b4732bfb9f953a7af47e17878abd /src/SourceOutputWindow.cc
parent71d68278db92214f0647dd72c316d6938f859c3d (diff)
show resample methods
git-svn-id: file:///home/lennart/svn/public/paman/trunk@43 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/SourceOutputWindow.cc')
-rw-r--r--src/SourceOutputWindow.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/SourceOutputWindow.cc b/src/SourceOutputWindow.cc
index fde5c0e..68d43d9 100644
--- a/src/SourceOutputWindow.cc
+++ b/src/SourceOutputWindow.cc
@@ -14,6 +14,7 @@ SourceOutputWindow::SourceOutputWindow(BaseObjectType* cobject, const Glib::RefP
clientLabel(NULL),
ownerModuleLabel(NULL),
latencyLabel(NULL),
+ resampleMethodLabel(NULL),
closeButton(NULL),
toOwnerModuleButton(NULL),
toClientButton(NULL),
@@ -32,6 +33,7 @@ SourceOutputWindow::SourceOutputWindow(BaseObjectType* cobject, const Glib::RefP
refGlade->get_widget("toClientButton", toClientButton);
refGlade->get_widget("toSourceButton", toSourceButton);
refGlade->get_widget("killButton", killButton);
+ refGlade->get_widget("resampleMethodLabel", resampleMethodLabel);
closeButton->signal_clicked().connect(sigc::mem_fun(*this, &SourceOutputWindow::onCloseButton));
toOwnerModuleButton->signal_clicked().connect(sigc::mem_fun(*this, &SourceOutputWindow::onToOwnerModuleButton));
@@ -76,6 +78,8 @@ void SourceOutputWindow::updateInfo(const SourceOutputInfo &i) {
clientLabel->set_text(client->name);
}
+ resampleMethodLabel->set_markup(i.resample_method);
+
set_title("Source Output: "+i.name);
this->source = i.source;