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

come down from acid trip there is no test_flag_locked

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3894 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 64bc4194
...@@ -652,7 +652,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch ...@@ -652,7 +652,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
while (switch_test_flag(tech_pvt, TFLAG_IO)) { while (switch_test_flag(tech_pvt, TFLAG_IO)) {
//switch_thread_cond_wait(tech_pvt->cond, tech_pvt->mutex); //switch_thread_cond_wait(tech_pvt->cond, tech_pvt->mutex);
if (switch_test_flag_locked(tech_pvt, TFLAG_BREAK)) { if (switch_test_flag(tech_pvt, TFLAG_BREAK)) {
switch_clear_flag(tech_pvt, TFLAG_BREAK); switch_clear_flag(tech_pvt, TFLAG_BREAK);
tech_pvt->read_frame.datalen = 13; tech_pvt->read_frame.datalen = 13;
memset(tech_pvt->read_frame.data, 0, 13); memset(tech_pvt->read_frame.data, 0, 13);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论