summaryrefslogtreecommitdiffstats
path: root/src/streamwidget.cc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-21 03:27:25 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-21 03:27:25 +0100
commit711636950370a035eb6364f24020e07f78a1eccf (patch)
treeaf53ee6cd6fb602b766549443ae18cf4bf23ec5b /src/streamwidget.cc
parent6499304945d540aa03ebcc6da6a55eda45a371f2 (diff)
visualize base volume
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 d020dbf..ecea771 100644
--- a/src/streamwidget.cc
+++ b/src/streamwidget.cc
@@ -101,3 +101,9 @@ bool StreamWidget::timeoutEvent() {
void StreamWidget::executeVolumeUpdate() {
}
+
+void StreamWidget::setBaseVolume(pa_volume_t v) {
+
+ if (channelMap.channels > 0)
+ channelWidgets[channelMap.channels-1]->setBaseVolume(v);
+}