Bump to WebRTC M131 release

Ongoing fixes and improvements, transient suppressor is gone. Also,
dropping isac because it doesn't seem to be useful, and is just build
system deadweight now.

Upstream references:

  Version: 131.0.6778.200
  WebRTC: 79aff54b0fa9238ce3518dd9eaf9610cd6f22e82
  Chromium: 2a19506ad24af755f2a215a4c61f775393e0db42
This commit is contained in:
Arun Raghavan
2024-12-24 19:32:07 -05:00
parent 8bdb53d91c
commit b5c48b97f6
263 changed files with 4628 additions and 20416 deletions

View File

@ -15,6 +15,7 @@
#include <memory>
#include <string>
#include "api/audio/audio_processing.h"
#include "modules/audio_processing/agc2/adaptive_digital_gain_controller.h"
#include "modules/audio_processing/agc2/cpu_features.h"
#include "modules/audio_processing/agc2/gain_applier.h"
@ -24,7 +25,6 @@
#include "modules/audio_processing/agc2/saturation_protector.h"
#include "modules/audio_processing/agc2/speech_level_estimator.h"
#include "modules/audio_processing/agc2/vad_wrapper.h"
#include "modules/audio_processing/include/audio_processing.h"
#include "modules/audio_processing/logging/apm_data_dumper.h"
namespace webrtc {
@ -68,7 +68,8 @@ class GainController2 {
// computes the speech probability via `vad_`.
// Handles input volume changes; if the caller cannot determine whether an
// input volume change occurred, set `input_volume_changed` to false.
void Process(absl::optional<float> speech_probability,
// TODO(bugs.webrtc.org/7494): Remove `speech_probability`.
void Process(std::optional<float> speech_probability,
bool input_volume_changed,
AudioBuffer* audio);
@ -76,7 +77,7 @@ class GainController2 {
AvailableCpuFeatures GetCpuFeatures() const { return cpu_features_; }
absl::optional<int> recommended_input_volume() const {
std::optional<int> recommended_input_volume() const {
return recommended_input_volume_;
}
@ -102,7 +103,7 @@ class GainController2 {
// Recommended input volume from `InputVolumecontroller`. Non-empty after
// `Process()` if input volume controller is enabled and
// `InputVolumeController::Process()` has returned a non-empty value.
absl::optional<int> recommended_input_volume_;
std::optional<int> recommended_input_volume_;
};
} // namespace webrtc