From da8f873afcd8ff9e1c7e9da9b97861e8d9c20250 Mon Sep 17 00:00:00 2001 From: Brian West Date: Mon, 11 Feb 2008 17:29:30 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7583 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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 a8d616fabc..1dd72c3331 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -1646,9 +1646,9 @@ static void conference_loop_output(conference_member_t * member) switch_codec_t *read_codec = switch_core_session_get_read_codec(member->session); uint32_t interval = read_codec->implementation->microseconds_per_frame / 1000; uint32_t samples = switch_bytes_per_frame(member->conference->rate, interval); - uint32_t flush_len = switch_bytes_per_frame(member->conference->rate, member->conference->interval) * 4; uint32_t csamples = samples; uint32_t tsamples = member->orig_read_codec->implementation->samples_per_frame; + uint32_t flush_len = member->read_codec.implementation->bytes_per_frame * 4; uint32_t low_count = 0, bytes = samples * 2; call_list_t *call_list = NULL, *cp = NULL;