regression from 8f82979d8a using wrong values to calculate buffer size

This commit is contained in:
Anthony Minessale 2014-02-14 22:40:21 +05:00
parent 79c8951260
commit 2fab561cb9
1 changed files with 1 additions and 1 deletions

View 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. */