Skip to content

Commit

Permalink
AEC3: Ensure that the shadow filter is adapted at each block
Browse files Browse the repository at this point in the history
This CL ensures that the shadow filter is adapted at each block, which
avoids that a temporary filter length mismatch can occur between the
main and shadow filters.

Bug: webrtc:9602,chromium:872201
Change-Id: I651812b4e3b134c6c5e1fe3df5ab78dbdb5c1fb4
Reviewed-on: https://webrtc-review.googlesource.com/93000
Reviewed-by: Sam Zackrisson <[email protected]>
Commit-Queue: Per Åhgren <[email protected]>
Cr-Commit-Position: refs/heads/master@{#24253}
  • Loading branch information
Per Åhgren authored and Commit Bot committed Aug 9, 2018
1 parent b6b1cac commit 45e7281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/audio_processing/aec3/subtractor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ void Subtractor::Process(const RenderBuffer& render_buffer,
G.re.fill(0.f);
G.im.fill(0.f);
poor_shadow_filter_counter_ = 0;
shadow_filter_.Adapt(render_buffer, G);
shadow_filter_.SetFilter(main_filter_.GetFilter());
}

Expand Down

0 comments on commit 45e7281

Please sign in to comment.