diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-21 03:27:25 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-21 03:27:25 +0100 |
commit | 711636950370a035eb6364f24020e07f78a1eccf (patch) | |
tree | af53ee6cd6fb602b766549443ae18cf4bf23ec5b /src/mainwindow.cc | |
parent | 6499304945d540aa03ebcc6da6a55eda45a371f2 (diff) |
visualize base volume
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r-- | src/mainwindow.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc index b81f0d7..1365f7e 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -167,6 +167,8 @@ void MainWindow::updateSink(const pa_sink_info &info) { w->index = info.index; w->monitor_index = info.monitor_source; is_new = true; + + w->setBaseVolume(info.base_volume); } w->updating = true; @@ -312,6 +314,8 @@ void MainWindow::updateSource(const pa_source_info &info) { w->index = info.index; is_new = true; + w->setBaseVolume(info.base_volume); + if (pa_context_get_server_protocol_version(get_context()) >= 13) createMonitorStreamForSource(info.index); } |