From ca9c74b0429311eba2b488cbb7aae6d6e8500093 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Fri, 22 Jul 2011 10:01:48 +0100 Subject: 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. --- src/mainwindow.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mainwindow.cc b/src/mainwindow.cc index 1ae0fb0..7e49e36 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -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; -- cgit v1.2.3