webrtc/modules/audio_mixer
Yura Yaroshevich 01c2c325bd Faster erase buffer within FrameCombiner with -Oz opt level.
Previous erase implementation on clang with -Oz optimization
leve produced effectively per element zeroing, causing
unnecessary CPU usage on mobiles.
Using zero-initialization is both shorter and easier to
optimize for clang:
https://en.cppreference.com/w/cpp/language/zero_initialization
Godbolt links with example of codegen:
Before: https://godbolt.org/z/feT3bfoxr
After: https://godbolt.org/z/PTra3sfoz

Bug: None
Change-Id: Ie1eae3455ded42e2b65fdb15436d8698277f6504
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/281400
Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38547}
2022-11-03 16:43:37 +00:00
..
g3doc Update links to point at main branch 2021-07-22 16:41:26 +00:00
audio_frame_manipulator.cc Enables usage of ChannelMixer in WebRTC's output mixer. 2019-07-09 14:49:47 +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_frame_manipulator_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
audio_mixer_impl.cc Audio stack traces 2022-09-27 15:05:51 +00:00
audio_mixer_impl.h Remove RTC_DISALLOW_COPY_AND_ASSIGN from modules/ 2022-01-24 11:50:20 +00:00
audio_mixer_impl_unittest.cc RtpPacketInfo: new ctor + deprecated ctors clean-up 2022-09-20 08:58:38 +00:00
audio_mixer_test.cc Adopt absl::string_view in modules/audio_mixer/ 2022-08-16 09:07:35 +00:00
BUILD.gn Audio stack traces 2022-09-27 15:05:51 +00:00
default_output_rate_calculator.cc Move dynamic memory allocations of webrtc::AudioMixerImpl from RT thead 2020-10-19 13:13:22 +00:00
default_output_rate_calculator.h Use backticks not vertical bars to denote variables in comments for /modules/audio_mixer 2021-08-02 11:10:59 +00:00
DEPS Enables usage of ChannelMixer in WebRTC's output mixer. 2019-07-09 14:49:47 +00:00
frame_combiner.cc Faster erase buffer within FrameCombiner with -Oz opt level. 2022-11-03 16:43:37 +00:00
frame_combiner.h Move dynamic memory allocations of webrtc::AudioMixerImpl from RT thead 2020-10-19 13:13:22 +00:00
frame_combiner_unittest.cc RtpPacketInfo: new ctor + deprecated ctors clean-up 2022-09-20 08:58:38 +00:00
gain_change_calculator.cc Format almost everything. 2019-07-08 13:45:15 +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 Cleanup after sorting out dependencies of OutputRateCalculator 2020-10-20 13:01:29 +00:00
OWNERS Add conceptual documentation for Audio - Mixer 2021-04-22 08:59:38 +00:00
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