diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-11-20 21:22:59 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-11-20 21:22:59 +0000 |
commit | 03862cd31e9026e6f86619b467b3d65d527e1f6a (patch) | |
tree | 529f5b769ff3b4732bfb9f953a7af47e17878abd /src/SinkInputWindow.cc | |
parent | 71d68278db92214f0647dd72c316d6938f859c3d (diff) |
show resample methods
git-svn-id: file:///home/lennart/svn/public/paman/trunk@43 cdefa82f-4ce1-0310-97f5-ab6066f37c3c
Diffstat (limited to 'src/SinkInputWindow.cc')
-rw-r--r-- | src/SinkInputWindow.cc | 4 |
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%% (-∞dB)", percent); volumeLabel->set_markup(t); + + resampleMethodLabel->set_markup(i.resample_method); set_title("Sink Input: "+i.name); |