From a2a3c63e539862bb3373154e445428f7d2292e5d Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Thu, 18 Oct 2007 18:40:20 +0000 Subject: [PATCH] fix conf git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5974 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 df51f62f74..1ea51ff932 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -1511,7 +1511,7 @@ static void conference_loop_output(conference_member_t * member) uint32_t interval = read_codec->implementation->microseconds_per_frame / 1000; uint32_t csamples = switch_bytes_per_frame(member->conference->rate, member->conference->interval); uint32_t samples = switch_bytes_per_frame(member->conference->rate, interval); - uint32_t tsamples = switch_bytes_per_frame(read_codec->implementation->samples_per_second, interval); + uint32_t tsamples = switch_bytes_per_frame(read_codec->implementation->samples_per_second, interval) / 2; uint32_t low_count = 0, bytes = samples * 2; call_list_t *call_list = NULL, *cp = NULL;