提交 085771a4 authored 作者: Michael Jerris's avatar Michael Jerris

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10543 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 cc37e56c
......@@ -973,7 +973,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(switch_core_flag_t flags, switc
runtime.dummy_cng_frame.data = runtime.dummy_data;
runtime.dummy_cng_frame.datalen = sizeof(runtime.dummy_data);
runtime.dummy_cng_frame.buflen = sizeof(runtime.dummy_data);
switch_set_flag(&runtime.dummy_cng_frame, SFF_CNG);
switch_set_flag((&runtime.dummy_cng_frame), SFF_CNG);
switch_set_flag((&runtime), SCF_NO_NEW_SESSIONS);
runtime.hard_log_level = SWITCH_LOG_DEBUG;
......
......@@ -50,7 +50,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_sleep(switch_core_session_t *session,
cng_frame.data = data;
cng_frame.datalen = 2;
cng_frame.buflen = 2;
switch_set_flag(&cng_frame, SFF_CNG);
switch_set_flag((&cng_frame), SFF_CNG);
for (;;) {
now = switch_timestamp_now();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论