提交 00a8f508 authored 作者: Brian West's avatar Brian West

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4510 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 e2400864
......@@ -538,10 +538,12 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
fh->silence_hits = org_silence_hits;
}
}
if (!switch_test_flag(fh, SWITCH_FILE_PAUSE)) {
len = (switch_size_t) read_frame->datalen / 2;
switch_core_file_write(fh, read_frame->data, &len);
if (switch_core_file_write(fh, read_frame->data, &len) != SWITCH_STATUS_SUCCESS) {
break;
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论