提交 d3423ffb authored 作者: Michael Jerris's avatar Michael Jerris

fix build

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6457 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a686f054
......@@ -535,7 +535,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session
if (switch_buffer_inuse(ep.buffer) >= len) {
switch_buffer_lock(ep.buffer);
write_frame.datalen = switch_buffer_read(ep.buffer, buf, len);
write_frame.datalen = (uint32_t)switch_buffer_read(ep.buffer, buf, len);
write_frame.samples = write_frame.datalen / 2;
if (switch_core_session_write_frame(session, &write_frame, 1000, 0) != SWITCH_STATUS_SUCCESS) {
goto end;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论