optimize
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3606 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5daa2313a6
commit
e3e3730cfa
|
@ -1074,7 +1074,7 @@ static void conference_loop(conference_member_t *member)
|
|||
write_frame.data = data;
|
||||
use_buffer = member->mux_buffer;
|
||||
|
||||
while ((write_frame.datalen = (uint32_t)switch_buffer_read(use_buffer, write_frame.data, bytes))) {
|
||||
if ((write_frame.datalen = (uint32_t)switch_buffer_read(use_buffer, write_frame.data, bytes))) {
|
||||
if (write_frame.datalen && switch_test_flag(member, MFLAG_CAN_HEAR)) {
|
||||
write_frame.samples = write_frame.datalen / 2;
|
||||
|
||||
|
@ -1087,6 +1087,7 @@ static void conference_loop(conference_member_t *member)
|
|||
}
|
||||
|
||||
switch_mutex_unlock(member->audio_out_mutex);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue