mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FS-3166 --resolve
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user