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

Issue 2808733002: Added forced zero AEC output after call startup and echo path changes (Closed)

Created:
3 years, 8 months ago by peah-webrtc
Modified:
3 years, 8 months ago
Reviewers:
ivoc, aleloi
CC:
webrtc-reviews_webrtc.org, AleBzk, Andrew MacDonald, aleloi, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added forced zero AEC output after call startup and echo path changes During the first few capture frames, there is no way for the AEC to tell whether there is echo in the capture signal as the echo removal functionality in the AEC has not yet seen any render signal. To avoid initial echo bursts due to this, this CL adds functionality for forcing the echo suppression gain to zero during the first 50 blocks (200 ms) after call start and after a reported echo path change. BUG=webrtc:6018 Review-Url: https://codereview.webrtc.org/2808733002 Cr-Commit-Position: refs/heads/master@{#17624} Committed: https://chromium.googlesource.com/external/webrtc/+/6d822adac4439258b0a07c5458620fcf2314874f

Patch Set 1 #

Total comments: 5

Patch Set 2 : Changes in response to reviewer comments #

Patch Set 3 : Fixed typo breaking unittest builds #

Patch Set 4 : Fixed memory access issue #

Total comments: 2

Patch Set 5 : Fixed memory access issue again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -5 lines) Patch
M webrtc/modules/audio_processing/aec3/aec_state.h View 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/aec_state.cc View 2 chunks +11 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/echo_remover.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/aec3/suppression_gain.h View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/suppression_gain.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/suppression_gain_unittest.cc View 1 2 3 4 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 38 (20 generated)
peah-webrtc
Hi, here comes another (fairly short) AEC3 CL. PTAL
3 years, 8 months ago (2017-04-10 08:12:47 UTC) #7
aleloi
LG, and a few comments. https://codereview.webrtc.org/2808733002/diff/80001/webrtc/modules/audio_processing/aec3/aec_state.cc File webrtc/modules/audio_processing/aec3/aec_state.cc (right): https://codereview.webrtc.org/2808733002/diff/80001/webrtc/modules/audio_processing/aec3/aec_state.cc#newcode129 webrtc/modules/audio_processing/aec3/aec_state.cc:129: force_zero_gain_ = (++force_zero_gain_counter_) < ...
3 years, 8 months ago (2017-04-10 09:35:51 UTC) #8
peah-webrtc
Thanks for the comments. I've addressed them in a new patch. PTAL https://codereview.webrtc.org/2808733002/diff/80001/webrtc/modules/audio_processing/aec3/aec_state.cc File webrtc/modules/audio_processing/aec3/aec_state.cc ...
3 years, 8 months ago (2017-04-10 09:57:25 UTC) #9
ivoc
lgtm.
3 years, 8 months ago (2017-04-10 10:01:48 UTC) #10
aleloi
lgtm https://codereview.webrtc.org/2808733002/diff/80001/webrtc/modules/audio_processing/aec3/aec_state.cc File webrtc/modules/audio_processing/aec3/aec_state.cc (right): https://codereview.webrtc.org/2808733002/diff/80001/webrtc/modules/audio_processing/aec3/aec_state.cc#newcode129 webrtc/modules/audio_processing/aec3/aec_state.cc:129: force_zero_gain_ = (++force_zero_gain_counter_) < kZeroGainBlocksAfterChange; On 2017/04/10 09:57:24, ...
3 years, 8 months ago (2017-04-10 10:07:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2808733002/100001
3 years, 8 months ago (2017-04-10 10:09:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/mac_rel/builds/24701)
3 years, 8 months ago (2017-04-10 10:12:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2808733002/120001
3 years, 8 months ago (2017-04-10 11:15:13 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_asan on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_asan/builds/23856) linux_rel on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 8 months ago (2017-04-10 11:25:59 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2808733002/140001
3 years, 8 months ago (2017-04-10 11:35:29 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_dbg/builds/18077)
3 years, 8 months ago (2017-04-10 11:53:22 UTC) #25
aleloi
https://codereview.webrtc.org/2808733002/diff/140001/webrtc/modules/audio_processing/aec3/suppression_gain.cc File webrtc/modules/audio_processing/aec3/suppression_gain.cc (right): https://codereview.webrtc.org/2808733002/diff/140001/webrtc/modules/audio_processing/aec3/suppression_gain.cc#newcode337 webrtc/modules/audio_processing/aec3/suppression_gain.cc:337: previous_masker_.begin()); I think it should be previous_masker_->begin()
3 years, 8 months ago (2017-04-10 12:19:13 UTC) #26
aleloi
https://codereview.webrtc.org/2808733002/diff/140001/webrtc/modules/audio_processing/aec3/suppression_gain.cc File webrtc/modules/audio_processing/aec3/suppression_gain.cc (right): https://codereview.webrtc.org/2808733002/diff/140001/webrtc/modules/audio_processing/aec3/suppression_gain.cc#newcode337 webrtc/modules/audio_processing/aec3/suppression_gain.cc:337: previous_masker_.begin()); On 2017/04/10 12:19:13, aleloi wrote: > I think ...
3 years, 8 months ago (2017-04-10 12:21:56 UTC) #27
peah-webrtc
On 2017/04/10 12:21:56, aleloi wrote: > https://codereview.webrtc.org/2808733002/diff/140001/webrtc/modules/audio_processing/aec3/suppression_gain.cc > File webrtc/modules/audio_processing/aec3/suppression_gain.cc (right): > > https://codereview.webrtc.org/2808733002/diff/140001/webrtc/modules/audio_processing/aec3/suppression_gain.cc#newcode337 > ...
3 years, 8 months ago (2017-04-10 12:23:53 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2808733002/160001
3 years, 8 months ago (2017-04-10 12:25:20 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on master.tryserver.webrtc (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 8 months ago (2017-04-10 14:25:41 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2808733002/160001
3 years, 8 months ago (2017-04-10 20:49:02 UTC) #35
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 20:52:23 UTC) #38
Message was sent while issue was closed.
Committed patchset #5 (id:160001) as
https://chromium.googlesource.com/external/webrtc/+/6d822adac4439258b0a07c545...

Powered by Google App Engine
This is Rietveld 408576698