ekiga r6235 - in trunk: . lib/engine/audioinput/null lib/engine/audioinput/ptlib lib/engine/audiooutput/null lib/engine/audiooutput/ptlib



Author: mschneid
Date: Thu May  1 20:01:45 2008
New Revision: 6235
URL: http://svn.gnome.org/viewvc/ekiga?rev=6235&view=rev

Log:
Adjusted some debug levels.


Modified:
   trunk/ChangeLog
   trunk/lib/engine/audioinput/null/audioinput-manager-null.cpp
   trunk/lib/engine/audioinput/ptlib/audioinput-manager-ptlib.cpp
   trunk/lib/engine/audiooutput/null/audiooutput-manager-null.cpp
   trunk/lib/engine/audiooutput/ptlib/audiooutput-manager-ptlib.cpp

Modified: trunk/lib/engine/audioinput/null/audioinput-manager-null.cpp
==============================================================================
--- trunk/lib/engine/audioinput/null/audioinput-manager-null.cpp	(original)
+++ trunk/lib/engine/audioinput/null/audioinput-manager-null.cpp	Thu May  1 20:01:45 2008
@@ -72,8 +72,8 @@
 {
   Ekiga::AudioInputConfig audioinput_config;
 
-  PTRACE(0, "GMAudioInputManager_null\tOpening Device " << current_state.audioinput_device.source << "/" <<  current_state.audioinput_device.device);
-  PTRACE(0, "GMAudioInputManager_null\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
+  PTRACE(4, "GMAudioInputManager_null\tOpening Device " << current_state.audioinput_device.source << "/" <<  current_state.audioinput_device.device);
+  PTRACE(4, "GMAudioInputManager_null\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
 
   current_state.channels        = channels;
   current_state.samplerate      = samplerate;

Modified: trunk/lib/engine/audioinput/ptlib/audioinput-manager-ptlib.cpp
==============================================================================
--- trunk/lib/engine/audioinput/ptlib/audioinput-manager-ptlib.cpp	(original)
+++ trunk/lib/engine/audioinput/ptlib/audioinput-manager-ptlib.cpp	Thu May  1 20:01:45 2008
@@ -83,7 +83,7 @@
 {
   if ( audioinput_device.type == DEVICE_TYPE ) {
 
-    PTRACE(0, "GMAudioInputManager_ptlib\tSetting Device " << audioinput_device.source << "/" <<  audioinput_device.device);
+    PTRACE(4, "GMAudioInputManager_ptlib\tSetting Device " << audioinput_device.source << "/" <<  audioinput_device.device);
     current_state.audioinput_device = audioinput_device;  
     return true;
   }
@@ -96,8 +96,8 @@
   unsigned volume;
   Ekiga::AudioInputConfig audioinput_config;
 
-  PTRACE(0, "GMAudioInputManager_ptlib\tOpening Device " << current_state.audioinput_device.source << "/" <<  current_state.audioinput_device.device);
-  PTRACE(0, "GMAudioInputManager_ptlib\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
+  PTRACE(4, "GMAudioInputManager_ptlib\tOpening Device " << current_state.audioinput_device.source << "/" <<  current_state.audioinput_device.device);
+  PTRACE(4, "GMAudioInputManager_ptlib\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
 
   current_state.channels        = channels;
   current_state.samplerate      = samplerate;
@@ -133,7 +133,7 @@
 
 void GMAudioInputManager_ptlib::close()
 {
-  PTRACE(0, "GMAudioInputManager_ptlib\tClosing device " << current_state.audioinput_device.source << "/" <<  current_state.audioinput_device.device);
+  PTRACE(4, "GMAudioInputManager_ptlib\tClosing device " << current_state.audioinput_device.source << "/" <<  current_state.audioinput_device.device);
   if (input_device) {
      delete input_device;
      input_device = NULL;
@@ -144,7 +144,7 @@
 
 void GMAudioInputManager_ptlib::set_buffer_size (unsigned buffer_size, unsigned num_buffers)
 {
-  PTRACE(0, "GMAudioInputManager_ptlib\tSetting buffer size to " << buffer_size << "/" <<  num_buffers);
+  PTRACE(4, "GMAudioInputManager_ptlib\tSetting buffer size to " << buffer_size << "/" <<  num_buffers);
 
   if (input_device)
     input_device->SetBuffers (buffer_size, num_buffers);
@@ -178,7 +178,7 @@
 
 void GMAudioInputManager_ptlib::set_volume (unsigned volume)
 {
-  PTRACE(0, "GMAudioInputManager_ptlib\tSetting volume to " << volume);
+  PTRACE(4, "GMAudioInputManager_ptlib\tSetting volume to " << volume);
   if (input_device)
     input_device->SetVolume(volume);
 }

Modified: trunk/lib/engine/audiooutput/null/audiooutput-manager-null.cpp
==============================================================================
--- trunk/lib/engine/audiooutput/null/audiooutput-manager-null.cpp	(original)
+++ trunk/lib/engine/audiooutput/null/audiooutput-manager-null.cpp	Thu May  1 20:01:45 2008
@@ -74,8 +74,8 @@
 {
   Ekiga::AudioOutputConfig audiooutput_config;
 
-  PTRACE(0, "GMAudioOutputManager_null\tOpening Device[" << primarySecondary << "] " << current_state[primarySecondary].audiooutput_device.source << "/" <<  current_state[primarySecondary].audiooutput_device.device);
-  PTRACE(0, "GMAudioOutputManager_null\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
+  PTRACE(4, "GMAudioOutputManager_null\tOpening Device[" << primarySecondary << "] " << current_state[primarySecondary].audiooutput_device.source << "/" <<  current_state[primarySecondary].audiooutput_device.device);
+  PTRACE(4, "GMAudioOutputManager_null\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
 
   current_state[primarySecondary].channels        = channels;
   current_state[primarySecondary].samplerate      = samplerate;

Modified: trunk/lib/engine/audiooutput/ptlib/audiooutput-manager-ptlib.cpp
==============================================================================
--- trunk/lib/engine/audiooutput/ptlib/audiooutput-manager-ptlib.cpp	(original)
+++ trunk/lib/engine/audiooutput/ptlib/audiooutput-manager-ptlib.cpp	Thu May  1 20:01:45 2008
@@ -84,7 +84,7 @@
 {
   if ( audiooutput_device.type == DEVICE_TYPE ) {
 
-    PTRACE(0, "GMAudioOutputManager_ptlib\tSetting Device[" << primarySecondary << "] " << audiooutput_device.source << "/" <<  audiooutput_device.device);
+    PTRACE(4, "GMAudioOutputManager_ptlib\tSetting Device[" << primarySecondary << "] " << audiooutput_device.source << "/" <<  audiooutput_device.device);
     current_state[primarySecondary].audiooutput_device = audiooutput_device;  
     return true;
   }
@@ -97,8 +97,8 @@
   unsigned volume;
   Ekiga::AudioOutputConfig audiooutput_config;
 
-  PTRACE(0, "GMAudioOutputManager_ptlib\tOpening Device " << current_state[primarySecondary].audiooutput_device.source << "/" <<  current_state[primarySecondary].audiooutput_device.device);
-  PTRACE(0, "GMAudioOutputManager_ptlib\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
+  PTRACE(4, "GMAudioOutputManager_ptlib\tOpening Device " << current_state[primarySecondary].audiooutput_device.source << "/" <<  current_state[primarySecondary].audiooutput_device.device);
+  PTRACE(4, "GMAudioOutputManager_ptlib\tOpening Device with " << channels << "-" << samplerate << "/" << bits_per_sample);
 
   current_state[primarySecondary].channels        = channels;
   current_state[primarySecondary].samplerate      = samplerate;
@@ -134,7 +134,7 @@
 
 void GMAudioOutputManager_ptlib::close(Ekiga::AudioOutputPrimarySecondary primarySecondary)
 {
-  PTRACE(0, "GMAudioOutputManager_ptlib\tClosing device[" << primarySecondary << "] " << current_state[primarySecondary].audiooutput_device.source << "/" <<  current_state[primarySecondary].audiooutput_device.device);
+  PTRACE(4, "GMAudioOutputManager_ptlib\tClosing device[" << primarySecondary << "] " << current_state[primarySecondary].audiooutput_device.source << "/" <<  current_state[primarySecondary].audiooutput_device.device);
   if (output_device[primarySecondary]) {
      delete output_device[primarySecondary];
      output_device[primarySecondary] = NULL;
@@ -145,7 +145,7 @@
 
 void GMAudioOutputManager_ptlib::set_buffer_size (Ekiga::AudioOutputPrimarySecondary primarySecondary, unsigned buffer_size, unsigned num_buffers)
 {
-  PTRACE(0, "GMAudioOutputManager_ptlib\tSetting buffer size of device[" << primarySecondary << "] " << buffer_size << "/" <<  num_buffers);
+  PTRACE(4, "GMAudioOutputManager_ptlib\tSetting buffer size of device[" << primarySecondary << "] " << buffer_size << "/" <<  num_buffers);
 
   if (output_device[primarySecondary])
     output_device[primarySecondary]->SetBuffers (buffer_size, num_buffers);
@@ -181,7 +181,7 @@
 
 void GMAudioOutputManager_ptlib::set_volume (Ekiga::AudioOutputPrimarySecondary primarySecondary, unsigned volume )
 {
-  PTRACE(0, "GMAudioOutputManager_ptlib\tSetting volume of device [" << primarySecondary << "] to " << volume);
+  PTRACE(4, "GMAudioOutputManager_ptlib\tSetting volume of device [" << primarySecondary << "] to " << volume);
   if (output_device[primarySecondary])
     output_device[primarySecondary]->SetVolume(volume);
 }



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