[Freeswitch-svn] [commit] r7583 - freeswitch/trunk/src/mod/applications/mod_conference

Freeswitch SVN brian at freeswitch.org
Mon Feb 11 12:29:31 EST 2008


Author: brian
Date: Mon Feb 11 12:29:30 2008
New Revision: 7583

Modified:
   freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c

Log:
tweak

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Mon Feb 11 12:29:30 2008
@@ -1646,9 +1646,9 @@
 	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;
     



More information about the Freeswitch-svn mailing list