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

Issue 1151573021: Re-land r9378 "Rename APM Config DelayCorrection to ExtendedFilter" (Closed)

Created:
5 years, 6 months ago by hlundin-webrtc
Modified:
5 years, 6 months ago
Reviewers:
*tommi, *bjornv1
CC:
kwiberg-webrtc, aluebs-webrtc, Andrew MacDonald, bjornv1, interface-changes_webrtc.org, niklas.enbom, qiang.lu, rwolff_gocast.it, tterriberry_mozilla.com, webrtc-reviews_webrtc.org, yujie_mao (webrtc)
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Re-land r9378 "Rename APM Config DelayCorrection to ExtendedFilter" (This reverts commit 3fbf3f8841b5460503fb646eaedcb063620434a8.) The original submission was reverted because it broke the Chrome build. This is fixed in patch set 2 of this change by keeping the old MediaConstraintsInterface string kExperimentalEchoCancellation. It will be removed once the Chrome code has been updated. Original description: "We use this Config struct for enabling/disabling Extended filter mode in AEC. This change renames it to ExtendedFilter for readability reasons. The corresponding media constraint is also renamed to kExtendedFilterEchoCancellation. The old Config is kept in parallel with the new during a transition period. This is to avoid problems with API breakages. During this period, if any of the two Configs are enabled, the extended filter mode is engaged in APM. That is, the two Configs are combined with an "OR" operation. This change also renames experimental_aec in AudioOptions to extended_filter_aec." BUG=webrtc:4696 R=bjornv@webrtc.org, tommi@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/441f6347311bcf2079435c3888d67e1fb321f9f8

Patch Set 1 : Original change #

Patch Set 2 : New changes #

Total comments: 2

Patch Set 3 : Adding a comment #

Total comments: 2

Patch Set 4 : Refactor FromConstraints #

Total comments: 6

Patch Set 5 : Moving the struct #

Patch Set 6 : New line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -91 lines) Patch
M talk/app/webrtc/localaudiosource.cc View 1 2 3 4 5 1 chunk +38 lines, -30 lines 0 comments Download
M talk/app/webrtc/localaudiosource_unittest.cc View 1 3 chunks +47 lines, -2 lines 0 comments Download
M talk/app/webrtc/mediaconstraintsinterface.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M talk/app/webrtc/mediaconstraintsinterface.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M talk/media/base/mediachannel.h View 4 chunks +4 lines, -4 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.h View 1 chunk +2 lines, -2 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine.cc View 4 chunks +9 lines, -9 lines 0 comments Download
M talk/media/webrtc/webrtcvoiceengine_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/aec/aec_core.h View 1 chunk +5 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/aec/aec_core.c View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/aec/echo_cancellation.c View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/echo_cancellation_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/echo_cancellation_impl.cc View 3 chunks +20 lines, -15 lines 0 comments Download
M webrtc/modules/audio_processing/echo_cancellation_impl_unittest.cc View 2 chunks +8 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 2 chunks +12 lines, -4 lines 0 comments Download
M webrtc/modules/audio_processing/test/audio_processing_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/test/process_test.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (2 generated)
hlundin-webrtc
New changes
5 years, 6 months ago (2015-06-05 13:33:39 UTC) #1
hlundin-webrtc
Björn, Tommi, Please, re-review this CL. Patch set 1 is identical to the initial submission ...
5 years, 6 months ago (2015-06-05 13:45:33 UTC) #4
bjornv1
lgtm % nit https://codereview.webrtc.org/1151573021/diff/20001/talk/app/webrtc/localaudiosource.cc File talk/app/webrtc/localaudiosource.cc (right): https://codereview.webrtc.org/1151573021/diff/20001/talk/app/webrtc/localaudiosource.cc#newcode63 talk/app/webrtc/localaudiosource.cc:63: MediaConstraintsInterface::kExtendedFilterEchoCancellation) How about a comment/TODO to ...
5 years, 6 months ago (2015-06-05 13:59:04 UTC) #5
hlundin-webrtc
Adding a comment
5 years, 6 months ago (2015-06-08 11:35:43 UTC) #6
hlundin-webrtc
Thanks Björn. Ping Tommi. https://codereview.webrtc.org/1151573021/diff/20001/talk/app/webrtc/localaudiosource.cc File talk/app/webrtc/localaudiosource.cc (right): https://codereview.webrtc.org/1151573021/diff/20001/talk/app/webrtc/localaudiosource.cc#newcode63 talk/app/webrtc/localaudiosource.cc:63: MediaConstraintsInterface::kExtendedFilterEchoCancellation) On 2015/06/05 13:59:04, bjornv1 ...
5 years, 6 months ago (2015-06-08 11:36:33 UTC) #7
tommi
one request... https://codereview.webrtc.org/1151573021/diff/40001/talk/app/webrtc/localaudiosource.cc File talk/app/webrtc/localaudiosource.cc (right): https://codereview.webrtc.org/1151573021/diff/40001/talk/app/webrtc/localaudiosource.cc#newcode63 talk/app/webrtc/localaudiosource.cc:63: MediaConstraintsInterface::kExtendedFilterEchoCancellation) hmm... don't suppose you can start ...
5 years, 6 months ago (2015-06-08 16:41:34 UTC) #8
hlundin-webrtc
Tommi, PTAL again. https://codereview.webrtc.org/1151573021/diff/40001/talk/app/webrtc/localaudiosource.cc File talk/app/webrtc/localaudiosource.cc (right): https://codereview.webrtc.org/1151573021/diff/40001/talk/app/webrtc/localaudiosource.cc#newcode63 talk/app/webrtc/localaudiosource.cc:63: MediaConstraintsInterface::kExtendedFilterEchoCancellation) On 2015/06/08 16:41:34, tommi (webrtc) ...
5 years, 6 months ago (2015-06-09 08:42:51 UTC) #9
tommi
exactly :) Thanks. lgtm % couple of minor things https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudiosource.cc File talk/app/webrtc/localaudiosource.cc (right): https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudiosource.cc#newcode59 talk/app/webrtc/localaudiosource.cc:59: ...
5 years, 6 months ago (2015-06-09 08:50:12 UTC) #10
hlundin-webrtc
Moving the struct
5 years, 6 months ago (2015-06-09 09:01:05 UTC) #11
hlundin-webrtc
Thanks! I will commit this version. https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudiosource.cc File talk/app/webrtc/localaudiosource.cc (right): https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudiosource.cc#newcode59 talk/app/webrtc/localaudiosource.cc:59: } key_to_value[] = ...
5 years, 6 months ago (2015-06-09 09:02:09 UTC) #12
tommi
On 2015/06/09 09:02:09, hlundin-webrtc wrote: > Thanks! I will commit this version. > > https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudiosource.cc ...
5 years, 6 months ago (2015-06-09 09:50:15 UTC) #13
hlundin-webrtc
New line
5 years, 6 months ago (2015-06-09 13:58:11 UTC) #14
hlundin-webrtc
https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudiosource.cc File talk/app/webrtc/localaudiosource.cc (right): https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudiosource.cc#newcode86 talk/app/webrtc/localaudiosource.cc:86: {MediaConstraintsInterface::kAecDump, options->aec_dump}}; On 2015/06/09 09:02:09, hlundin-webrtc wrote: > On ...
5 years, 6 months ago (2015-06-09 14:00:18 UTC) #15
hlundin-webrtc
Committed patchset #6 (id:100001) manually as 441f6347311bcf2079435c3888d67e1fb321f9f8 (presubmit successful).
5 years, 6 months ago (2015-06-09 14:03:30 UTC) #16
kwiberg-webrtc
5 years, 6 months ago (2015-06-09 14:16:37 UTC) #17
Message was sent while issue was closed.
https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudi...
File talk/app/webrtc/localaudiosource.cc (right):

https://codereview.webrtc.org/1151573021/diff/60001/talk/app/webrtc/localaudi...
talk/app/webrtc/localaudiosource.cc:86: {MediaConstraintsInterface::kAecDump,
options->aec_dump}};
On 2015/06/09 at 14:00:18, hlundin-webrtc wrote:
> Ok, ok. I picked a fight with the windmill anyway...

Don't worry---I'm sure it'll be a breeze!

Powered by Google App Engine
This is Rietveld 408576698