Bump to WebRTC M120 release
Some API deprecation -- ExperimentalAgc and ExperimentalNs are gone. We're continuing to carry iSAC even though it's gone upstream, but maybe we'll want to drop that soon.
This commit is contained in:
@ -39,7 +39,9 @@ class ResidualEchoEstimator {
|
||||
const RenderBuffer& render_buffer,
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> S2_linear,
|
||||
rtc::ArrayView<const std::array<float, kFftLengthBy2Plus1>> Y2,
|
||||
rtc::ArrayView<std::array<float, kFftLengthBy2Plus1>> R2);
|
||||
bool dominant_nearend,
|
||||
rtc::ArrayView<std::array<float, kFftLengthBy2Plus1>> R2,
|
||||
rtc::ArrayView<std::array<float, kFftLengthBy2Plus1>> R2_unbounded);
|
||||
|
||||
private:
|
||||
enum class ReverbType { kLinear, kNonLinear };
|
||||
@ -51,12 +53,16 @@ class ResidualEchoEstimator {
|
||||
// render signal.
|
||||
void UpdateRenderNoisePower(const RenderBuffer& render_buffer);
|
||||
|
||||
// Updates the reverb estimation.
|
||||
void UpdateReverb(ReverbType reverb_type,
|
||||
const AecState& aec_state,
|
||||
const RenderBuffer& render_buffer,
|
||||
bool dominant_nearend);
|
||||
|
||||
// Adds the estimated unmodelled echo power to the residual echo power
|
||||
// estimate.
|
||||
void AddReverb(ReverbType reverb_type,
|
||||
const AecState& aec_state,
|
||||
const RenderBuffer& render_buffer,
|
||||
rtc::ArrayView<std::array<float, kFftLengthBy2Plus1>> R2);
|
||||
void AddReverb(
|
||||
rtc::ArrayView<std::array<float, kFftLengthBy2Plus1>> R2) const;
|
||||
|
||||
// Gets the echo path gain to apply.
|
||||
float GetEchoPathGain(const AecState& aec_state,
|
||||
@ -68,6 +74,7 @@ class ResidualEchoEstimator {
|
||||
const float late_reflections_transparent_mode_gain_;
|
||||
const float early_reflections_general_gain_;
|
||||
const float late_reflections_general_gain_;
|
||||
const bool erle_onset_compensation_in_dominant_nearend_;
|
||||
std::array<float, kFftLengthBy2Plus1> X2_noise_floor_;
|
||||
std::array<int, kFftLengthBy2Plus1> X2_noise_floor_counter_;
|
||||
ReverbModel echo_reverb_;
|
||||
|
Reference in New Issue
Block a user