[pulseaudio-commits] src/sinkwidget.cc

Colin Guthrie colin at kemper.freedesktop.org
Fri Jul 22 01:50:45 PDT 2011


 src/sinkwidget.cc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a03fa60f411af06b4d8f83407d4805198cfd808c
Author: Colin Guthrie <colin at mageia.org>
Date:   Fri Jul 22 09:50:22 2011 +0100

    sink: Oops. I didn't mean to comment this out in the previous commit.

diff --git a/src/sinkwidget.cc b/src/sinkwidget.cc
index 02643ac..c797e68 100644
--- a/src/sinkwidget.cc
+++ b/src/sinkwidget.cc
@@ -52,9 +52,9 @@ void SinkWidget::executeVolumeUpdate() {
 
     pa_operation_unref(o);
 
-    //ca_context_playing(ca_gtk_context_get(), 2, &playing);
-    //if (playing)
-    //    return;
+    ca_context_playing(ca_gtk_context_get(), 2, &playing);
+    if (playing)
+        return;
 
     snprintf(dev, sizeof(dev), "%lu", (unsigned long) index);
     ca_context_change_device(ca_gtk_context_get(), dev);



More information about the pulseaudio-commits mailing list