[pulseaudio-commits] src/mainwindow.cc

Arun Raghavan arun at kemper.freedesktop.org
Thu Aug 18 02:28:42 PDT 2011


 src/mainwindow.cc |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit c9b307de5af37a56e7327f6467dc7624e68e4d16
Author: Arun Raghavan <arun.raghavan at collabora.co.uk>
Date:   Thu Aug 18 14:57:09 2011 +0530

    Check if PA_SINK_SET_FORMATS is defined before using it

diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index a41dc99..71b4d20 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -348,7 +348,9 @@ bool MainWindow::updateSink(const pa_sink_info &info) {
 
     w->activePort = info.active_port ? info.active_port->name : "";
 
+#ifdef PA_SINK_SET_FORMATS
     w->setDigital(info.flags & PA_SINK_SET_FORMATS);
+#endif
 
     w->updating = false;
 



More information about the pulseaudio-commits mailing list