From 5ca609e6378ae0ec141e214f7719d204f8a24059 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 8 Dec 2014 20:36:25 -0600 Subject: [PATCH] factor channel count into flush len --- src/mod/applications/mod_conference/mod_conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 1dfbe311d3..b3a5fd525e 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -4277,7 +4277,7 @@ static void *SWITCH_THREAD_FUNC conference_loop_input(switch_thread_t *thread, v switch_channel_audio_sync(channel); - flush_len = switch_samples_per_packet(member->conference->rate, member->conference->interval) * 6; + flush_len = switch_samples_per_packet(member->conference->rate, member->conference->interval) * member->conference->channels * 10; /* As long as we have a valid read, feed that data into an input buffer where the conference thread will take it and mux it with any audio from other channels. */