summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.cc
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2011-03-09 21:54:05 +0000
committerColin Guthrie <cguthrie@mandriva.org>2011-03-09 21:54:05 +0000
commitc70b048c98db9cc7869484ff9d6b1ed84b9dea91 (patch)
tree87e440293b8147b586e4b7b21541c271bc013916 /src/mainwindow.cc
parent297af52ae5581f5373bb008f60c7aac858bb365a (diff)
volume: Don't bother setting the steps.
The number of volume steps doesn't really affect our scale, so there is little value in setting it.
Diffstat (limited to 'src/mainwindow.cc')
-rw-r--r--src/mainwindow.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 119e30e..ddd0579 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -278,7 +278,6 @@ 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;
@@ -415,7 +414,6 @@ 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);