parent
c70b048c98
commit
26d42651c5
|
@ -135,8 +135,8 @@ void DeviceWidget::executeVolumeUpdate() {
|
||||||
|
|
||||||
void DeviceWidget::setBaseVolume(pa_volume_t v) {
|
void DeviceWidget::setBaseVolume(pa_volume_t v) {
|
||||||
|
|
||||||
if (channelMap.channels > 0)
|
for (int i = 0; i < channelMap.channels; i++)
|
||||||
channelWidgets[channelMap.channels-1]->setBaseVolume(v);
|
channelWidgets[i]->setBaseVolume(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceWidget::prepareMenu() {
|
void DeviceWidget::prepareMenu() {
|
||||||
|
|
Loading…
Reference in New Issue