mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-04 17:51:03 +00:00
factor channel count into flush len
This commit is contained in:
parent
bf2b425bb0
commit
cb941a3b0c
@ -4277,7 +4277,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->conference->rate, member->conference->interval) * 6;
|
||||
flush_len = switch_samples_per_packet(member->conference->rate, member->conference->interval) * member->conference->channels * 10;
|
||||
|
||||
/* 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. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user