webrtc/modules/audio_coding
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
..
acm2 Start using ArrayView in AudioFrame, update PushResampler 2024-04-30 15:33:08 +00:00
audio_network_adaptor Remove expired field trial UseTwccPlrForAna 2024-04-15 14:26:33 +00:00
codecs Remove expired WebRTC-Audio-OpusSetSignalVoiceWithDtx 2024-04-05 07:49:33 +00:00
g3doc Reland "Migrate WebRTC documentation to new renderer" 2023-01-31 09:30:04 +00:00
include Format /modules 2023-04-20 02:02:45 +00:00
neteq Remove expired WebRTC-Audio-NetEqFecDelayAdaptation 2024-04-06 08:57:52 +00:00
test Reland "Unify access to SDP codec parameters" 2024-01-03 12:03:11 +00:00
audio_coding.gni Reland "[ACM] iSAC audio codec removed" 2022-11-17 12:52:35 +00:00
BUILD.gn Reland "Remove post-decode VAD" 2024-02-07 16:33:51 +00:00
DEPS Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
OWNERS Add jakobi to modules/audio_coding OWNERS 2021-06-18 11:52:58 +00:00