webrtc/modules/audio_coding/acm2
Tommi 19c51ea537 Use std::array<> consistently for reusable audio buffers.
This is a minor change for places where we use
AudioFrame::kMaxDataSizeSamples sized intermediary buffers. The change
uses `std::array<>` instead of C style arrays which allows for use
of utility templates that incorporate type based buffer size checking.
Also adding `ClearSamples()` method, which complements CopySamples.

Bug: chromium:335805780
Change-Id: I813feb32937e020ceb9ca4b00632dc90907c93fb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/351681
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Reviewed-by: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#42400}
2024-05-29 09:20:36 +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 Use std::array<> consistently for reusable audio buffers. 2024-05-29 09:20:36 +00:00
acm_receiver.h Use std::array<> consistently for reusable audio buffers. 2024-05-29 09:20:36 +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 Add audio view classes 2024-05-24 18:08:37 +00:00
acm_resampler.cc Add audio view classes 2024-05-24 18:08:37 +00:00
acm_resampler.h Add audio view classes 2024-05-24 18:08:37 +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 Use absolute capture timestamp from the beginning of payload 2024-05-13 08:10:56 +00:00
audio_coding_module_unittest.cc Add audio view classes 2024-05-24 18:08:37 +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