]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix conf
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 18 Oct 2007 18:40:20 +0000 (18:40 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 18 Oct 2007 18:40:20 +0000 (18:40 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5974 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_conference/mod_conference.c

index df51f62f740183530ae5b3caeb7f382570da2efa..1ea51ff932f948187922d34f659c4681a32fa5c4 100644 (file)
@@ -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;