Browse code

core: mixer: removed excessive debug info

Stefan Sayer authored on 11/07/2013 13:47:32
Showing 1 changed files
... ...
@@ -274,7 +274,7 @@ std::deque<MixerBufferState>::iterator AmMultiPartyMixer::findOrCreateBufferStat
274 274
   //DBG("XXDebugMixerXX: Creating buffer state (from PutChannelPacket)");
275 275
   buffer_state.push_back(MixerBufferState(sample_rate, channelids));
276 276
   std::deque<MixerBufferState>::reverse_iterator rit = buffer_state.rbegin();
277
-  DEBUG_MIXER_BUFFER_STATE(*((rit + 1).base()), "returned to PutChannelPacket");
277
+  //DEBUG_MIXER_BUFFER_STATE(*((rit + 1).base()), "returned to PutChannelPacket");
278 278
   return (rit + 1).base();
279 279
 }
280 280
 
... ...
@@ -296,7 +296,7 @@ AmMultiPartyMixer::findBufferStateForReading(unsigned int sample_rate,
296 296
   //DBG("XXDebugMixerXX: Creating buffer state (from GetChannelPacket)");
297 297
   buffer_state.push_back(MixerBufferState(sample_rate, channelids));
298 298
   std::deque<MixerBufferState>::reverse_iterator rit = buffer_state.rbegin();
299
-  DEBUG_MIXER_BUFFER_STATE(*((rit + 1).base()), "returned to PutChannelPacket");
299
+  //DEBUG_MIXER_BUFFER_STATE(*((rit + 1).base()), "returned to PutChannelPacket");
300 300
   return (rit + 1).base();
301 301
 }
302 302
 
... ...
@@ -306,7 +306,7 @@ void AmMultiPartyMixer::cleanupBufferStates(unsigned int last_ts)
306 306
 	 && (buffer_state.front().last_ts != 0 && buffer_state.front().last_ts < last_ts) 
307 307
 	 && (unsigned int)GetCurrentSampleRate() != buffer_state.front().sample_rate) {
308 308
 
309
-    DEBUG_MIXER_BUFFER_STATE(buffer_state.front(), "freed in cleanupBufferStates");
309
+    //DEBUG_MIXER_BUFFER_STATE(buffer_state.front(), "freed in cleanupBufferStates");
310 310
     buffer_state.front().free_channels();
311 311
     buffer_state.pop_front();
312 312
   }