mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 20:50:41 +00:00
FS-9708
This commit is contained in:
parent
c701ce6173
commit
ed33641c75
@ -6284,7 +6284,7 @@ static void *SWITCH_THREAD_FUNC audio_write_thread(switch_thread_t *thread, void
|
||||
|
||||
}
|
||||
|
||||
if (switch_frame_buffer_pop(a_engine->write_fb, &pop) == SWITCH_STATUS_SUCCESS && pop) {
|
||||
if (switch_frame_buffer_trypop(a_engine->write_fb, &pop) == SWITCH_STATUS_SUCCESS && pop) {
|
||||
switch_frame_t *frame = (switch_frame_t *)pop;
|
||||
|
||||
if ((switch_size_t)pop == 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user