]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
remove debugging wtf
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 3 Jul 2007 14:46:58 +0000 (14:46 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 3 Jul 2007 14:46:58 +0000 (14:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5494 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/codecs/mod_l16/mod_l16.c
src/mod/endpoints/mod_iax/mod_iax.c
src/switch_core_io.c
src/switch_ivr_play_say.c

index 8ae98a7929dd38d577b92db1d3a525fd2c6e0f51..ed510c08dadcd4c7cf4604a525b27cdad2e4e089 100644 (file)
@@ -55,7 +55,7 @@ static switch_status_t switch_raw_encode(switch_codec_t *codec,
                                                                                 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);
index 1d2f3b3de8201c51c17b883147d13e035323db79..9a535bc988d7277b281184796d86800b406ed858 100644 (file)
@@ -345,7 +345,6 @@ static switch_status_t iax_set_codec(private_t * tech_pvt, struct iax_session *i
                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) {
index 912d6be480c6793c70a0e8583f19cddb0d23eb14..fccf743707b3c08702a18bbfc97803243135bef9 100644 (file)
@@ -659,8 +659,6 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
                                                                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,
index 5ee4b61ee9cb6c16266e526151b6c0fbf2c0e1aa..fa3b016e311decc671d8420bc8d54fee5df6d508 100644 (file)
@@ -805,8 +805,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess
                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;