remove debugging wtf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5494 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
333fa35773
commit
796b476330
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue