summaryrefslogtreecommitdiff
path: root/src/streamwidget.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/streamwidget.cc
parent711636950370a035eb6364f24020e07f78a1eccf (diff)
configure steps for scales
Diffstat (limited to 'src/streamwidget.cc')
-rw-r--r--src/streamwidget.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/streamwidget.cc b/src/streamwidget.cc
index ecea771..fae605f 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -107,3 +107,9 @@ void StreamWidget::setBaseVolume(pa_volume_t v) {
if (channelMap.channels > 0)
channelWidgets[channelMap.channels-1]->setBaseVolume(v);
}
+
+void StreamWidget::setSteps(unsigned n) {
+
+ for (int i = 0; i < channelMap.channels; i++)
+ channelWidgets[channelMap.channels-1]->setSteps(n);
+}