[ekiga] Better PTRACING.



commit 46cba6a83ad4bd2a8888f8c7c0ffb264f49d16ae
Author: Damien Sandras <dsandras seconix com>
Date:   Sat Oct 17 13:35:36 2009 +0200

    Better PTRACING.

 lib/engine/audioinput/audioinput-gmconf-bridge.cpp |    2 +-
 .../audiooutput/audiooutput-gmconf-bridge.cpp      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/audioinput/audioinput-gmconf-bridge.cpp b/lib/engine/audioinput/audioinput-gmconf-bridge.cpp
index e9831bb..fbf392e 100644
--- a/lib/engine/audioinput/audioinput-gmconf-bridge.cpp
+++ b/lib/engine/audioinput/audioinput-gmconf-bridge.cpp
@@ -74,7 +74,6 @@ void AudioInputCoreConfBridge::on_property_changed (std::string key, GmConfEntry
         }
       }
     }
-    PTRACE(4, "AudioInputCoreConfBridge\tUpdating device");
 
     AudioInputDevice device;
     if (found)
@@ -92,6 +91,7 @@ void AudioInputCoreConfBridge::on_property_changed (std::string key, GmConfEntry
     }
 
     audioinput_core.set_device (device);
+    PTRACE(4, "AudioInputCoreConfBridge\tSet device to " << device.source << "/" << device.name);
   }
 }
 
diff --git a/lib/engine/audiooutput/audiooutput-gmconf-bridge.cpp b/lib/engine/audiooutput/audiooutput-gmconf-bridge.cpp
index 8128942..0ffd445 100644
--- a/lib/engine/audiooutput/audiooutput-gmconf-bridge.cpp
+++ b/lib/engine/audiooutput/audiooutput-gmconf-bridge.cpp
@@ -91,7 +91,6 @@ void AudioOutputCoreConfBridge::on_property_changed (std::string key, GmConfEntr
         }
       }
     }
-    PTRACE(4, "AudioOutputCoreConfBridge\tUpdating device");
 
     AudioOutputDevice device;
     if (found)
@@ -108,6 +107,7 @@ void AudioOutputCoreConfBridge::on_property_changed (std::string key, GmConfEntr
       device.name   = AUDIO_OUTPUT_FALLBACK_DEVICE_NAME;
     }
 
+    PTRACE(4, "AudioOutputCoreConfBridge\tSet device to " << device.source << "/" << device.name);
     audiooutput_core.set_device (primary, device);
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]