1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-05 18:13:27 +00:00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9048 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-07-16 04:48:01 +00:00
parent aa99ef8fb6
commit 0e41f84afd

@ -1278,8 +1278,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_silence(switch_core_session_
break;
}
write_frame.samples = olen;
write_frame.datalen = olen * sizeof(int16_t);
write_frame.samples = (uint32_t)olen;
write_frame.datalen = (uint32_t)(olen * sizeof(int16_t));
if ((status = switch_core_session_write_frame(session, &write_frame, SWITCH_IO_FLAG_NONE, 0)) != SWITCH_STATUS_SUCCESS) {
break;
}