提交 e277d9b5 authored 作者: Anthony Minessale's avatar Anthony Minessale

tweak

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8132 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 29ea1523
...@@ -298,7 +298,7 @@ static switch_status_t timer_destroy(switch_timer_t *timer) ...@@ -298,7 +298,7 @@ static switch_status_t timer_destroy(switch_timer_t *timer)
SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime) SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime)
{ {
switch_time_t too_late = STEP_MIC * 128; switch_time_t too_late = STEP_MIC * 1000;
uint32_t current_ms = 0; uint32_t current_ms = 0;
uint32_t x, tick = 0; uint32_t x, tick = 0;
switch_time_t ts = 0, last = 0; switch_time_t ts = 0, last = 0;
...@@ -324,6 +324,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime) ...@@ -324,6 +324,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(softtimer_runtime)
MONO = 0; MONO = 0;
runtime.reference = switch_time_now(); runtime.reference = switch_time_now();
runtime.initiated = runtime.reference; runtime.initiated = runtime.reference;
break;
} }
switch_yield(STEP_MIC); switch_yield(STEP_MIC);
last = ts; last = ts;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论