webrtc/modules/audio_mixer
Tommi 1f3679884c Start using ArrayView in AudioFrame, update PushResampler
Start introducing ArrayView to AudioFrame and code that flows down
from there.  In this first step:
* Add `data_view()` that returns a read-only ArrayView for the
  audio buffer. When AudioFrame is not initialized however, data_view()
  will return a nullptr whereas the current data() method never returns
  nullptr.
* Add `mutable_data()` that requires two arguments for properly setting
  the samples per channel and number of channels that's required for
  accurately reserving the returned mutable ArrayView.
  A notable behavior change is that if the requested number of channels
  is larger than supported or the calculated buffer size is too large,
  the function will trigger a check.
* Add TODOs for following work.

Bug: chromium:335805780
Change-Id: I2937de800422589ebe6a3840b3caadf3d9ff8b00
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/347982
Reviewed-by: Per Åhgren <peah@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42202}
2024-04-30 15:33:08 +00:00
..
g3doc Reland "Migrate WebRTC documentation to new renderer" 2023-01-31 09:30:04 +00:00
audio_frame_manipulator.cc Make AudioFrame::channel_layout_ private and check for valid values 2024-04-30 11:02:40 +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 Mix audio from all sources. 2023-06-26 17:48:50 +00:00
audio_mixer_impl.h Mix audio from all sources. 2023-06-26 17:48:50 +00:00
audio_mixer_impl_unittest.cc Start using ArrayView in AudioFrame, update PushResampler 2024-04-30 15:33:08 +00:00
audio_mixer_test.cc Adopt absl::string_view in modules/audio_mixer/ 2022-08-16 09:07:35 +00:00
BUILD.gn Move webrtc::AudioProcessing include to api/ folder 2024-04-20 07:02:50 +00:00
default_output_rate_calculator.cc Move webrtc::AudioProcessing include to api/ folder 2024-04-20 07:02:50 +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 Move webrtc::AudioProcessing include to api/ folder 2024-04-20 07:02:50 +00:00
frame_combiner.h Remove unused enum FrameCombiner::LimiterType 2023-01-25 10:15:15 +00:00
frame_combiner_unittest.cc Start using ArrayView in AudioFrame, update PushResampler 2024-04-30 15:33:08 +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