This is an automated email from the git hooks/post-receive script. It was
generated because of a push to the "PulseAudio Volume Control" repository.
The master branch has been updated
from c70b048c98db9cc7869484ff9d6b1ed84b9dea91 (commit)
- Log -----------------------------------------------------------------
26d4265 Ensure the marker for base volume is set on all channels.
-----------------------------------------------------------------------
Summary of changes:
src/devicewidget.cc | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
commit 26d42651c5c74b8a714682d678c2a40e6531a0c8
Author: Colin Guthrie <[email protected]>
Date: Mon Mar 28 18:52:27 2011 +0100
Ensure the marker for base volume is set on all channels.
Refs #804
diff --git a/src/devicewidget.cc b/src/devicewidget.cc
index bf09f12..dda1763 100644
--- a/src/devicewidget.cc
+++ b/src/devicewidget.cc
@@ -135,8 +135,8 @@ void DeviceWidget::executeVolumeUpdate() {
void DeviceWidget::setBaseVolume(pa_volume_t v) {
- if (channelMap.channels > 0)
- channelWidgets[channelMap.channels-1]->setBaseVolume(v);
+ for (int i = 0; i < channelMap.channels; i++)
+ channelWidgets[i]->setBaseVolume(v);
}
void DeviceWidget::prepareMenu() {
--
hooks/post-receive
PulseAudio Volume Control
_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/pulseaudio-commits