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

Issue 1242943008: Remove C++11 calls from intelligibility_utils (Closed)

Created:
5 years, 5 months ago by ekm
Modified:
5 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, aluebs-webrtc, bjornv1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Remove C++11 calls from intelligibility_utils The C++11 here was overkill. This replaces it with simpler logic that covers all cases encountered so far in practice. The problem was previously brought up here: https://codereview.webrtc.org/1250663007/ BUG=427718, 487341, webrtc:4866 R=andrew@webrtc.org Committed: https://crrev.com/3ab2f14d56db91665002f36f899c0a97f926d91f Cr-Commit-Position: refs/heads/master@{#9627}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Got rid of static in zerofudge #

Total comments: 6

Patch Set 3 : Uncommented debug comment #

Patch Set 4 : Fixed dither #

Total comments: 3

Patch Set 5 : Removed unnecesary abs #

Patch Set 6 : Fixed merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -41 lines) Patch
M webrtc/modules/audio_processing/intelligibility/intelligibility_utils.h View 1 chunk +0 lines, -6 lines 0 comments Download
M webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc View 1 2 3 4 5 4 chunks +5 lines, -26 lines 0 comments Download
M webrtc/modules/audio_processing/intelligibility/intelligibility_utils_unittest.cc View 1 chunk +1 line, -9 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
ekm
5 years, 5 months ago (2015-07-22 22:04:29 UTC) #2
jdduke (slow)
On 2015/07/22 22:04:29, ekm wrote: Much appreciated with the quick turnaround.
5 years, 5 months ago (2015-07-22 22:12:31 UTC) #3
Andrew MacDonald
https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc (right): https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc#newcode42 webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc:42: static int fudge_index = 0; Ahh, non-const static! Do ...
5 years, 5 months ago (2015-07-22 22:17:07 UTC) #4
ekm
https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc (right): https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc#newcode42 webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc:42: static int fudge_index = 0; On 2015/07/22 22:17:07, andrew ...
5 years, 5 months ago (2015-07-22 22:45:25 UTC) #5
Andrew MacDonald
https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc (right): https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc#newcode42 webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc:42: static int fudge_index = 0; On 2015/07/22 22:45:25, ekm ...
5 years, 5 months ago (2015-07-22 23:35:00 UTC) #6
ekm
https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc (right): https://codereview.webrtc.org/1242943008/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc#newcode42 webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc:42: static int fudge_index = 0; On 2015/07/22 23:34:59, andrew ...
5 years, 5 months ago (2015-07-23 00:06:26 UTC) #7
jdduke (slow)
https://codereview.webrtc.org/1242943008/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc (right): https://codereview.webrtc.org/1242943008/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc#newcode36 webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc:36: return std::abs(value) == 0.f ? std::rand() * 0.01f / ...
5 years, 5 months ago (2015-07-23 00:24:07 UTC) #8
ekm
https://codereview.webrtc.org/1242943008/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc (right): https://codereview.webrtc.org/1242943008/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc#newcode36 webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc:36: return std::abs(value) == 0.f ? std::rand() * 0.01f / ...
5 years, 5 months ago (2015-07-23 00:32:01 UTC) #9
Andrew MacDonald
lgtm with jdduke's comment. https://codereview.webrtc.org/1242943008/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc (right): https://codereview.webrtc.org/1242943008/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc#newcode36 webrtc/modules/audio_processing/intelligibility/intelligibility_utils.cc:36: return std::abs(value) == 0.f ? ...
5 years, 5 months ago (2015-07-23 00:35:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1242943008/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1242943008/80001
5 years, 5 months ago (2015-07-23 00:48:35 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_rel/builds/8705)
5 years, 5 months ago (2015-07-23 00:52:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1242943008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1242943008/100001
5 years, 5 months ago (2015-07-23 01:02:52 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/6763)
5 years, 5 months ago (2015-07-23 02:54:31 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1242943008/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1242943008/100001
5 years, 5 months ago (2015-07-23 17:21:20 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-23 19:15:28 UTC) #22
commit-bot: I haz the power
5 years, 5 months ago (2015-07-23 19:15:40 UTC) #23
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/3ab2f14d56db91665002f36f899c0a97f926d91f
Cr-Commit-Position: refs/heads/master@{#9627}

Powered by Google App Engine
This is Rietveld 408576698