summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-21 03:49:19 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-21 03:49:19 +0100
commitfeff1f6f0592c1f085241bb9d3794b723d524f2e (patch)
treefa8ad8558c29e85d7d0b340ba1234ddf9743c3fc /src/mainwindow.cc
parent711636950370a035eb6364f24020e07f78a1eccf (diff)
configure steps for scales
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 1365f7e..0277bb0 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -169,6 +169,7 @@ void MainWindow::updateSink(const pa_sink_info &info) {
is_new = true;
w->setBaseVolume(info.base_volume);
+ w->setSteps(info.n_volume_steps);
}
w->updating = true;
@@ -315,6 +316,7 @@ void MainWindow::updateSource(const pa_source_info &info) {
is_new = true;
w->setBaseVolume(info.base_volume);
+ w->setSteps(info.n_volume_steps);
if (pa_context_get_server_protocol_version(get_context()) >= 13)
createMonitorStreamForSource(info.index);