mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-20 10:26:51 +00:00
fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6731 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
e14bdfeac0
commit
1d08feb482
@ -225,7 +225,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
if (session->read_resampler && 0) {
|
||||
#if 0
|
||||
if (session->read_resampler) {
|
||||
short *data = read_frame->data;
|
||||
|
||||
session->read_resampler->from_len = switch_short_to_float(data, session->read_resampler->from, (int) read_frame->datalen / 2);
|
||||
@ -237,6 +238,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_read_frame(switch_core_sessi
|
||||
read_frame->datalen = session->read_resampler->to_len * 2;
|
||||
read_frame->rate = session->read_resampler->to_rate;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (session->bugs) {
|
||||
switch_media_bug_t *bp, *dp, *last = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user