diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-03-21 03:49:19 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-03-21 03:49:19 +0100 |
commit | feff1f6f0592c1f085241bb9d3794b723d524f2e (patch) | |
tree | fa8ad8558c29e85d7d0b340ba1234ddf9743c3fc /src/streamwidget.cc | |
parent | 711636950370a035eb6364f24020e07f78a1eccf (diff) |
configure steps for scales
Diffstat (limited to 'src/streamwidget.cc')
-rw-r--r-- | src/streamwidget.cc | 6 |
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); +} |