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

Issue 2862533002: Corrected the behavior in AEC3 during buffer overruns and underruns (Closed)

Created:
3 years, 7 months ago by peah-webrtc
Modified:
3 years, 7 months ago
Reviewers:
aleloi
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, 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

Corrected the behavior in AEC3 during buffer overruns and underruns This CL corrects the behavior in AEC3 during buffer overruns and underruns in three ways. 1) When there is no render signal available (due to a buffering issues, a zero block is inserted instead of the previous render block. This avoids the same block being repeatedly inserted when there are many back-to-back calls. 2) The internal counters in the main adaptive filter gain are also reset when the filter is reset. 3) The internal counters in the shadow adaptive filter gain are reset when the filter is reset. BUG=chromium:717920, webrtc:7559 Review-Url: https://codereview.webrtc.org/2862533002 Cr-Commit-Position: refs/heads/master@{#17991} Committed: https://chromium.googlesource.com/external/webrtc/+/debaa442ed0317e215706c8c7d91c880e6bd6051

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changes in response to reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -9 lines) Patch
M webrtc/modules/audio_processing/aec3/main_filter_update_gain.cc View 3 chunks +4 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/aec3/render_delay_buffer.cc View 1 4 chunks +17 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.h View 2 chunks +5 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/shadow_filter_update_gain.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/subtractor.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (11 generated)
peah-webrtc
Hi, Could you please take a look at this CL?
3 years, 7 months ago (2017-05-03 10:53:11 UTC) #8
aleloi
lgtm! A few comments though. https://codereview.webrtc.org/2862533002/diff/20001/webrtc/modules/audio_processing/aec3/render_delay_buffer.cc File webrtc/modules/audio_processing/aec3/render_delay_buffer.cc (right): https://codereview.webrtc.org/2862533002/diff/20001/webrtc/modules/audio_processing/aec3/render_delay_buffer.cc#newcode166 webrtc/modules/audio_processing/aec3/render_delay_buffer.cc:166: if (!underrun) { I ...
3 years, 7 months ago (2017-05-03 11:23:40 UTC) #9
peah-webrtc
Thanks for the comments and the quick review! I will upload a patch accordingly. https://codereview.webrtc.org/2862533002/diff/20001/webrtc/modules/audio_processing/aec3/render_delay_buffer.cc ...
3 years, 7 months ago (2017-05-03 11:31:23 UTC) #10
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/2862533002/40001
3 years, 7 months ago (2017-05-03 11:34:11 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-03 12:39:13 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/debaa442ed0317e215706c8c7...

Powered by Google App Engine
This is Rietveld 408576698