webrtc/modules/audio_coding/acm2
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
..
acm_receive_test.cc Break apart AudioCodingModule and AcmReceiver 2023-02-01 16:09:26 +00:00
acm_receive_test.h Break apart AudioCodingModule and AcmReceiver 2023-02-01 16:09:26 +00:00
acm_receiver.cc Reland "Remove post-decode VAD" 2024-02-07 16:33:51 +00:00
acm_receiver.h Break apart AudioCodingModule and AcmReceiver 2023-02-01 16:09:26 +00:00
acm_receiver_unittest.cc Reland "Remove post-decode VAD" 2024-02-07 16:33:51 +00:00
acm_remixing.cc ACM: Adding unittests for the remixing functionality 2019-11-20 06:20:22 +00:00
acm_remixing.h ACM: Adding unittests for the remixing functionality 2019-11-20 06:20:22 +00:00
acm_remixing_unittest.cc ACM: Adding unittests for the remixing functionality 2019-11-20 06:20:22 +00:00
acm_resampler.cc Start using ArrayView in AudioFrame, update PushResampler 2024-04-30 15:33:08 +00:00
acm_resampler.h [Cleanup] Add missing #include. Remove useless ones. 2018-10-23 11:32:56 +00:00
acm_send_test.cc Break apart AudioCodingModule and AcmReceiver 2023-02-01 16:09:26 +00:00
acm_send_test.h Adopt absl::string_view in modules/audio_coding/ 2022-07-20 13:34:23 +00:00
audio_coding_module.cc Delete deprecated Create method and config from AudioCodingModule 2023-02-02 17:06:29 +00:00
audio_coding_module_unittest.cc Default enable NetEq experiments. 2023-11-10 09:09:22 +00:00
call_statistics.cc Prepare to rename RTC_NOTREACHED to RTC_DCHECK_NOTREACHED 2021-11-15 21:44:59 +00:00
call_statistics.h Use backticks not vertical bars to denote variables in comments for /modules/audio_coding 2021-08-02 10:45:40 +00:00
call_statistics_unittest.cc Reland of "Reporting of decoding_codec_plc events"" 2019-08-07 18:41:46 +00:00