diff --git a/src/mod/codecs/mod_l16/mod_l16.c b/src/mod/codecs/mod_l16/mod_l16.c index 8ae98a7929..ed510c08da 100644 --- a/src/mod/codecs/mod_l16/mod_l16.c +++ b/src/mod/codecs/mod_l16/mod_l16.c @@ -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); diff --git a/src/mod/endpoints/mod_iax/mod_iax.c b/src/mod/endpoints/mod_iax/mod_iax.c index 1d2f3b3de8..9a535bc988 100644 --- a/src/mod/endpoints/mod_iax/mod_iax.c +++ b/src/mod/endpoints/mod_iax/mod_iax.c @@ -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) { diff --git a/src/switch_core_io.c b/src/switch_core_io.c index 912d6be480..fccf743707 100644 --- a/src/switch_core_io.c +++ b/src/switch_core_io.c @@ -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, diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 5ee4b61ee9..fa3b016e31 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -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;