]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
regression from 8f82979d8af920415bce2f9e9e3cb84cdc0ca682 using wrong values to calcul...
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 14 Feb 2014 17:40:21 +0000 (22:40 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 14 Feb 2014 17:40:21 +0000 (22:40 +0500)
src/mod/applications/mod_conference/mod_conference.c

index 1b7fa463d9efd5564b71e6dc27bd35a65f959409..a5f87fddce3eb8c200e72566c937a3a0ceca3778 100644 (file)
@@ -3671,7 +3671,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->read_impl.actual_samples_per_second, (member->read_impl.microseconds_per_packet / 1000)) * 6;
+       flush_len = switch_samples_per_packet(member->conference->rate, member->conference->interval) * 6;
 
        /* 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. */