webrtc/modules/audio_processing/include
Per Åhgren db5d728878 Add refined handling of the internal scaling of the audio in APM
This CL adds functionality that allows adjusting the audio levels
internally in APM. The main purpose of the functionality is to allow
APM to optionally be moved to an integration that does not provide an
analog gain to control, and the implementation of this has been
tailored specifically to meet the requirements for that.

More specifically, this CL does
-Add a new variant of the pre-amplifier gain that is intended to replace
 the pre-amplifier gain (but at the moment can coexist with that). The
 main differences with the pre-amplifier gain is that an attenuating
 gain is allowed, the gain is applied jointly with any emulated analog
 gain, and that its packaging fits better with the post gain.
-Add an emulation of an analog microphone gain. The emulation is
 designed to match the analog mic gain functionality in Chrome OS (which
 is digital) but should be usable also on other platforms.
-Add a post-gain which is applied after all processing has been applied.
 The purpose of this gain is for it to work well with the integration
 in ChromeOS, and be used to compensate for the offset that there is
 applied on some USB audio devices.


Bug: b/177830918
Change-Id: I0f312996e4088c9bd242a713a703eaaeb17f188a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/209707
Commit-Queue: Per Åhgren <peah@webrtc.org>
Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org>
Reviewed-by: Alessio Bazzica <alessiob@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33466}
2021-03-15 19:12:02 +00:00
..
aec_dump.cc Removing the intelligibility enhancer. 2018-08-30 21:29:57 +00:00
aec_dump.h Replace RTC_DEPRECATED with ABSL_DEPRECATED 2021-02-22 12:53:23 +00:00
audio_frame_proxies.cc APM: Removing the redundant VAD output from the integer API 2020-03-19 13:59:00 +00:00
audio_frame_proxies.h APM: Localize/abstract the usage of AudioFrame 2020-03-17 13:55:41 +00:00
audio_frame_view.h Add namespace 'webrtc' to AudioFrameView. 2018-05-14 12:33:49 +00:00
audio_processing_statistics.cc Use the new AudioProcessing statistics everywhere. 2017-11-24 18:17:39 +00:00
audio_processing_statistics.h Add private voice detection instance to replace public voice detector 2018-12-27 12:00:06 +00:00
audio_processing.cc Add refined handling of the internal scaling of the audio in APM 2021-03-15 19:12:02 +00:00
audio_processing.h Add refined handling of the internal scaling of the audio in APM 2021-03-15 19:12:02 +00:00
config.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
config.h Delete macros RTC_DISALLOW_ASSIGN and RTC_DISALLOW_IMPLICIT_CONSTRUCTORS 2020-09-29 10:19:20 +00:00
mock_audio_processing.h Adding initial support for lock-less informing of muting 2021-02-09 12:08:54 +00:00