source-output: Don't set the channel map for the SO if we do not support SO volumes.
The setting of the channel map triggers the display of the actual volume sliders so it is essential that we do not set it when we don't want to.
This commit is contained in:
parent
a03fa60f41
commit
ca9c74b042
|
@ -606,7 +606,9 @@ void MainWindow::updateSourceOutput(const pa_source_output_info &info) {
|
|||
w = sourceOutputWidgets[info.index];
|
||||
else {
|
||||
sourceOutputWidgets[info.index] = w = SourceOutputWidget::create(this);
|
||||
#if HAVE_SOURCE_OUTPUT_VOLUMES
|
||||
w->setChannelMap(info.channel_map, true);
|
||||
#endif
|
||||
recsVBox->pack_start(*w, false, false, 0);
|
||||
w->index = info.index;
|
||||
w->clientIndex = info.client;
|
||||
|
|
Loading…
Reference in New Issue