From 03862cd31e9026e6f86619b467b3d65d527e1f6a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 20 Nov 2004 21:22:59 +0000 Subject: show resample methods git-svn-id: file:///home/lennart/svn/public/paman/trunk@43 cdefa82f-4ce1-0310-97f5-ab6066f37c3c --- src/SourceOutputWindow.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/SourceOutputWindow.cc') 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; -- cgit