webrtc/api/audio/test
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
..
audio_frame_unittest.cc Add audio view classes 2024-05-24 18:08:37 +00:00
audio_view_unittest.cc Use std::array<> consistently for reusable audio buffers. 2024-05-29 09:20:36 +00:00
BUILD.gn Add audio view classes 2024-05-24 18:08:37 +00:00
echo_canceller3_config_unittest.cc Make AEC3 json parsing code testonly 2023-10-26 12:03:02 +00:00