Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc

Issue 2784023002: Major AEC3 render pipeline changes (Closed)
Patch Set: Disabled one more DEATH test that caused issues due to bug on bots Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc
diff --git a/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc b/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc
index 45d3a5f79b48448289a1b38f77dd016129e0db6f..993a8da8bdef3d7a080a6c5b3433f04280fc2c96 100644
--- a/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc
+++ b/webrtc/modules/audio_processing/aec3/residual_echo_estimator.cc
@@ -61,7 +61,7 @@ void HalfDuplexPowerEstimate(bool active_render,
// Estimates the residual echo power based on gains.
void GainBasedPowerEstimate(
size_t external_delay,
- const FftBuffer& X_buffer,
+ const RenderBuffer& X_buffer,
size_t blocks_since_last_saturation,
size_t active_render_blocks,
const std::array<bool, kFftLengthBy2Plus1>& bands_with_reliable_filter,
@@ -93,7 +93,7 @@ void GainBasedPowerEstimate(
// Estimates the residual echo power based on the linear echo path.
void ErleBasedPowerEstimate(
bool headset_detected,
- const FftBuffer& X_buffer,
+ const RenderBuffer& X_buffer,
bool using_subtractor_output,
size_t linear_filter_based_delay,
size_t blocks_since_last_saturation,
@@ -162,7 +162,7 @@ ResidualEchoEstimator::~ResidualEchoEstimator() = default;
void ResidualEchoEstimator::Estimate(
bool using_subtractor_output,
const AecState& aec_state,
- const FftBuffer& X_buffer,
+ const RenderBuffer& X_buffer,
const std::vector<std::array<float, kFftLengthBy2Plus1>>& H2,
const std::array<float, kFftLengthBy2Plus1>& E2_main,
const std::array<float, kFftLengthBy2Plus1>& E2_shadow,

Powered by Google App Engine
This is Rietveld 408576698