提交 2fab561c authored 作者: Anthony Minessale's avatar Anthony Minessale

regression from 8f82979d using wrong values to…

regression from 8f82979d using wrong values to calculate buffer size
上级 79c89512
...@@ -3671,7 +3671,7 @@ static void *SWITCH_THREAD_FUNC conference_loop_input(switch_thread_t *thread, v ...@@ -3671,7 +3671,7 @@ static void *SWITCH_THREAD_FUNC conference_loop_input(switch_thread_t *thread, v
switch_channel_audio_sync(channel); 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 /* 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. */ and mux it with any audio from other channels. */
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论