src/mainwindow.cc | 2 ++ 1 file changed, 2 insertions(+) New commits: commit c9b307de5af37a56e7327f6467dc7624e68e4d16 Author: Arun Raghavan <arun.ragha...@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; _______________________________________________ pulseaudio-commits mailing list pulseaudio-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits