webrtc/modules/audio_mixer
Alex Loiko b4977de306 Receive-side ready for multiple channels.
Made path from NetEq to AudioTransport ready for many-channel audio.
If there is one stream, we can handle anything that fits in an
AudioFrame. For many streams, the current limit is 6.

Some multi-channel combinations are not supported: e.g. if we get
stereo audio and attempt to play out 6 channels.

Changes:
* AudioFrameOperations - replaced the MonoTo* and *ToMono methods by
  UpmixChannels & DownmixChannels.
* AudioMixer: removed DCHECKs for <= 2 channels and tweaked the mixing
  algorithm to handle many channels.

Bug: webrtc:8649
Change-Id: Ib83e16d463694e35658caa09c27849e853d508fb
Reviewed-on: https://webrtc-review.googlesource.com/c/106040
Reviewed-by: Oskar Sundbom <ossu@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26446}
2019-01-29 12:43:23 +00:00
..
audio_frame_manipulator_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
audio_frame_manipulator.cc Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
audio_frame_manipulator.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
audio_mixer_impl_unittest.cc Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
audio_mixer_impl.cc Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
audio_mixer_impl.h Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
audio_mixer_test.cc [clang-tidy] Apply performance-inefficient-vector-operation fixes. 2019-01-29 09:45:21 +00:00
BUILD.gn Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
default_output_rate_calculator.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
default_output_rate_calculator.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
DEPS Delete unused MediaFile module. 2018-01-29 11:18:18 +00:00
frame_combiner_unittest.cc Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
frame_combiner.cc Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
frame_combiner.h Receive-side ready for multiple channels. 2019-01-29 12:43:23 +00:00
gain_change_calculator.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
gain_change_calculator.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
output_rate_calculator.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
OWNERS
sine_wave_generator.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
sine_wave_generator.h [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00