[Freeswitch-svn] [commit] r5494 - in freeswitch/trunk/src: . mod/codecs/mod_l16 mod/endpoints/mod_iax

Freeswitch SVN anthm at freeswitch.org
Tue Jul 3 10:46:59 EDT 2007


Author: anthm
Date: Tue Jul  3 10:46:58 2007
New Revision: 5494

Modified:
   freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c
   freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c
   freeswitch/trunk/src/switch_core_io.c
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
remove debugging wtf

Modified: freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_l16/mod_l16.c	Tue Jul  3 10:46:58 2007
@@ -55,7 +55,7 @@
 										 uint32_t decoded_rate, void *encoded_data, uint32_t * encoded_data_len, uint32_t * encoded_rate,
 										 unsigned int *flag)
 {
-	printf("WTF %d %d\n", codec->implementation->samples_per_second , other_codec->implementation->samples_per_second );
+
 	/* NOOP indicates that the audio in is already the same as the audio out, so no conversion was necessary. */
 	if (codec && other_codec && codec->implementation && other_codec->implementation && codec->implementation->samples_per_second != other_codec->implementation->samples_per_second) {
 		memcpy(encoded_data, decoded_data, decoded_data_len);

Modified: freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_iax/mod_iax.c	Tue Jul  3 10:46:58 2007
@@ -345,7 +345,6 @@
 		unsigned short samples = iax_build_codec_rates();
 		unsigned short mixed = ((tech_pvt->samprate ? tech_pvt->samprate : *samprate) & samples);
 
-		//printf("\n\n******WTF %u %u %u\n******\n", *samprate, samples, mixed);
 		srate = 8000;
 
 		if (mixed & IAX_RATE_16KHZ) {

Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Tue Jul  3 10:46:58 2007
@@ -659,8 +659,6 @@
 								rate = session->write_codec->implementation->samples_per_second;
 							} 
 
-							printf("WTF %d %d %d\n", rate, enc_frame->datalen, session->enc_write_frame.datalen);
-							
 							status = switch_core_codec_encode(session->write_codec,
 															  frame->codec,
 															  enc_frame->data,

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Tue Jul  3 10:46:58 2007
@@ -805,8 +805,6 @@
 		int do_speed = 1;
 		int last_speed = -1;
 
-		//printf("xxxxxxxxxxxWTF %d %d %d\n", switch_channel_get_state(channel), switch_channel_ready(channel), switch_channel_test_flag(channel, CF_TRANSFER));
-		
 		if (!switch_channel_ready(channel)) {
             status = SWITCH_STATUS_FALSE;
             break;



More information about the Freeswitch-svn mailing list