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:
@ -14,8 +14,8 @@
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <optional>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/audio/echo_canceller3_config.h"
|
||||
#include "modules/audio_processing/aec3/aec3_common.h"
|
||||
#include "modules/audio_processing/aec3/render_buffer.h"
|
||||
@ -34,7 +34,7 @@ class RenderSignalAnalyzer {
|
||||
|
||||
// Updates the render signal analysis with the most recent render signal.
|
||||
void Update(const RenderBuffer& render_buffer,
|
||||
const absl::optional<size_t>& delay_partitions);
|
||||
const std::optional<size_t>& delay_partitions);
|
||||
|
||||
// Returns true if the render signal is poorly exciting.
|
||||
bool PoorSignalExcitation() const {
|
||||
@ -48,12 +48,12 @@ class RenderSignalAnalyzer {
|
||||
void MaskRegionsAroundNarrowBands(
|
||||
std::array<float, kFftLengthBy2Plus1>* v) const;
|
||||
|
||||
absl::optional<int> NarrowPeakBand() const { return narrow_peak_band_; }
|
||||
std::optional<int> NarrowPeakBand() const { return narrow_peak_band_; }
|
||||
|
||||
private:
|
||||
const int strong_peak_freeze_duration_;
|
||||
std::array<size_t, kFftLengthBy2 - 1> narrow_band_counters_;
|
||||
absl::optional<int> narrow_peak_band_;
|
||||
std::optional<int> narrow_peak_band_;
|
||||
size_t narrow_peak_counter_;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user