Ensure the marker for base volume is set on all channels.

Refs #804
This commit is contained in:
Colin Guthrie 2011-03-28 18:52:27 +01:00
parent c70b048c98
commit 26d42651c5
1 changed files with 2 additions and 2 deletions

View File

@ -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() {