FS-3166 --resolve

This commit is contained in:
Anthony Minessale
2011-04-22 16:43:29 -05:00
parent c22aac0eac
commit 73279f01bf
41 changed files with 125 additions and 258 deletions

View File

@@ -1637,7 +1637,6 @@ static switch_bool_t preprocess_callback(switch_media_bug_t *bug, void *user_dat
pp_cb_t *cb = (pp_cb_t *) user_data;
switch_codec_implementation_t read_impl = { 0 };
switch_frame_t *frame = NULL;
int y;
switch_core_session_get_read_impl(session, &read_impl);
@@ -1682,7 +1681,7 @@ static switch_bool_t preprocess_callback(switch_media_bug_t *bug, void *user_dat
memcpy(frame->data, cb->read_out, frame->datalen);
}
y = speex_preprocess_run(cb->read_st, frame->data);
speex_preprocess_run(cb->read_st, frame->data);
}
if (cb->write_ec) {
@@ -1703,7 +1702,7 @@ static switch_bool_t preprocess_callback(switch_media_bug_t *bug, void *user_dat
memcpy(frame->data, cb->write_out, frame->datalen);
}
y = speex_preprocess_run(cb->write_st, frame->data);
speex_preprocess_run(cb->write_st, frame->data);
}
if (cb->read_ec) {