From ddd7d06ddec0ff76df434ce561a8173ebe9db5c5 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Sun, 22 Mar 2009 16:38:57 +0000 Subject: Move the setBaseVolume()/setSteps() methods to devicewidget (problem found after rebasing) --- src/streamwidget.cc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/streamwidget.cc') diff --git a/src/streamwidget.cc b/src/streamwidget.cc index b7b23dc..b739676 100644 --- a/src/streamwidget.cc +++ b/src/streamwidget.cc @@ -109,16 +109,3 @@ bool StreamWidget::timeoutEvent() { void StreamWidget::executeVolumeUpdate() { } - - -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); -} -- cgit