parent
c70b048c98
commit
26d42651c5
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue