diff options
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 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); +} |