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

Issue 1211053006: Rename APM Config ReportedDelay to DelayAgnostic (Closed)

Created:
5 years, 5 months ago by hlundin-webrtc
Modified:
5 years, 5 months ago
CC:
aluebs-webrtc, Andrew MacDonald, bjornv1, hlundin-webrtc, kwiberg-webrtc, niklas.enbom, qiang.lu, 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

Rename APM Config ReportedDelay to DelayAgnostic We use this Config struct for enabling/disabling the delay agnostic AEC. This change renames it to DelayAgnostic for readability reasons. NOTE: The logic is reversed in this CL. The old ReportedDelay config turned DA-AEC off, while the new DelayAgnostic turns it on. 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, ReportedDelay is disabled or DelayAgnostic is enabled, DA-AEC is engaged in APM. BUG=webrtc:4651 R=bjornv@webrtc.org, tommi@webrtc.org Committed: https://crrev.com/0f133b99c655cbdb347b4a71ac872c071532189f Cr-Commit-Position: refs/heads/master@{#9531}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fix error in android test #

Messages

Total messages: 13 (3 generated)
hlundin-webrtc
Björn, Tommi, Please, take a look. I tested it in Chrome already, to avoid the ...
5 years, 5 months ago (2015-07-01 13:51:03 UTC) #1
tommi
lgtm. just have a qq https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core_internal.h File webrtc/modules/audio_processing/aec/aec_core_internal.h (right): https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core_internal.h#newcode149 webrtc/modules/audio_processing/aec/aec_core_internal.h:149: int delay_agnostic_enabled; why do ...
5 years, 5 months ago (2015-07-01 14:00:45 UTC) #2
bjornv1
lgtm if you fix the error, see comment. https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core.c#newcode1455 webrtc/modules/audio_processing/aec/aec_core.c:1455: aec->delay_agnostic_enabled ...
5 years, 5 months ago (2015-07-01 18:13:35 UTC) #3
hlundin-webrtc
Fix error in android test
5 years, 5 months ago (2015-07-02 06:35:57 UTC) #4
hlundin-webrtc
Thanks! https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core.c#newcode1455 webrtc/modules/audio_processing/aec/aec_core.c:1455: aec->delay_agnostic_enabled = 0; // DA-AEC enabled by default. ...
5 years, 5 months ago (2015-07-02 06:36:31 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211053006/20001
5 years, 5 months ago (2015-07-02 06:36:42 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-02 07:17:59 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0f133b99c655cbdb347b4a71ac872c071532189f Cr-Commit-Position: refs/heads/master@{#9531}
5 years, 5 months ago (2015-07-02 07:18:06 UTC) #10
tommi
https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core_internal.h File webrtc/modules/audio_processing/aec/aec_core_internal.h (right): https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processing/aec/aec_core_internal.h#newcode149 webrtc/modules/audio_processing/aec/aec_core_internal.h:149: int delay_agnostic_enabled; On 2015/07/02 06:36:30, hlundin-webrtc-VACATIONtoAUG3 wrote: > On ...
5 years, 5 months ago (2015-07-08 13:44:43 UTC) #11
kwiberg-webrtc
5 years, 5 months ago (2015-07-08 14:47:59 UTC) #13
Message was sent while issue was closed.
https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processi...
File webrtc/modules/audio_processing/aec/aec_core_internal.h (right):

https://codereview.webrtc.org/1211053006/diff/1/webrtc/modules/audio_processi...
webrtc/modules/audio_processing/aec/aec_core_internal.h:149: int
delay_agnostic_enabled;
On 2015/07/02 06:36:30, hlundin-webrtc-VACATIONtoAUG3 wrote:
> And for the record, int foo:1 is a bad idea, since at least
> our compiler implements a signed 1-bit field to have the range {-1, 0}.

I hope you won't find a compiler where this isn't the case. An n-bit two's
complement integer should have 1 sign bit and n-1 "value" bits, which gives
minimum value -2^(n-1) and maximum value 2^(n-1) - 1. For n = 1, that's -1 and
0.

Powered by Google App Engine
This is Rietveld 408576698