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

Issue 1754223004: Move aec_resampler.c to be built using C++ (Closed)

Created:
4 years, 9 months ago by peah-webrtc
Modified:
4 years, 9 months ago
Reviewers:
the sun
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-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

Moved the file aec_resampler.c to be built using C++. The steps involved were: 1) Change file name to .cc from .c. 2) Update the build files accordingly. 3) Remove the extern header file inclusion. 4) Change the casts in aec_resampler.cc to static_cast and reinterpret_cast. The changes are bitexact. The CL will be followed with another CL where a proper (webrtc) namespace is introduced. The reason for not having it in this CL is that this was missed in the corresponding CL that did the above for aec_core.c, ..., and if the namespaces in all the aec_core -related files can be changed at the same time that will simplify things. BUG=webrtc:5201 Committed: https://crrev.com/88950cfbf9bf3a7a1f2d3353ce9e649e0a68bbf8 Cr-Commit-Position: refs/heads/master@{#11867}

Patch Set 1 : Corrected casts #

Total comments: 4

Patch Set 2 : Changed reinterpret_cast to static_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -217 lines) Patch
M webrtc/modules/audio_processing/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
D webrtc/modules/audio_processing/aec/aec_resampler.c View 1 chunk +0 lines, -204 lines 0 comments Download
A + webrtc/modules/audio_processing/aec/aec_resampler.cc View 1 7 chunks +9 lines, -9 lines 0 comments Download
M webrtc/modules/audio_processing/aec/echo_cancellation.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (13 generated)
peah-webrtc
4 years, 9 months ago (2016-03-03 13:49:43 UTC) #5
the sun
lgtm https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc File webrtc/modules/audio_processing/aec/aec_resampler.cc (right): https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc#newcode113 webrtc/modules/audio_processing/aec/aec_resampler.cc:113: AecResampler* obj = reinterpret_cast<AecResampler*>(resampInst); Why not static_cast here?
4 years, 9 months ago (2016-03-03 15:18:35 UTC) #7
peah-webrtc
https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc File webrtc/modules/audio_processing/aec/aec_resampler.cc (right): https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc#newcode113 webrtc/modules/audio_processing/aec/aec_resampler.cc:113: AecResampler* obj = reinterpret_cast<AecResampler*>(resampInst); On 2016/03/03 15:18:34, the sun ...
4 years, 9 months ago (2016-03-03 19:14:53 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1754223004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1754223004/40001
4 years, 9 months ago (2016-03-03 19:15:13 UTC) #10
the sun
https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc File webrtc/modules/audio_processing/aec/aec_resampler.cc (right): https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc#newcode113 webrtc/modules/audio_processing/aec/aec_resampler.cc:113: AecResampler* obj = reinterpret_cast<AecResampler*>(resampInst); On 2016/03/03 19:14:53, peah-webrtc wrote: ...
4 years, 9 months ago (2016-03-03 19:19:46 UTC) #11
peah-webrtc
On 2016/03/03 19:19:46, the sun wrote: > https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc > File webrtc/modules/audio_processing/aec/aec_resampler.cc (right): > > https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc#newcode113 ...
4 years, 9 months ago (2016-03-03 20:06:03 UTC) #12
the sun
On 2016/03/03 20:06:03, peah-webrtc wrote: > On 2016/03/03 19:19:46, the sun wrote: > > > ...
4 years, 9 months ago (2016-03-03 20:09:28 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
4 years, 9 months ago (2016-03-03 21:15:35 UTC) #15
peah-webrtc
https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc File webrtc/modules/audio_processing/aec/aec_resampler.cc (right): https://codereview.webrtc.org/1754223004/diff/40001/webrtc/modules/audio_processing/aec/aec_resampler.cc#newcode113 webrtc/modules/audio_processing/aec/aec_resampler.cc:113: AecResampler* obj = reinterpret_cast<AecResampler*>(resampInst); On 2016/03/03 19:19:46, the sun ...
4 years, 9 months ago (2016-03-04 05:14:20 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1754223004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1754223004/60001
4 years, 9 months ago (2016-03-04 05:14:45 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 9 months ago (2016-03-04 07:16:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1754223004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1754223004/60001
4 years, 9 months ago (2016-03-04 07:32:06 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 9 months ago (2016-03-04 08:12:44 UTC) #25
commit-bot: I haz the power
4 years, 9 months ago (2016-03-04 08:12:53 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/88950cfbf9bf3a7a1f2d3353ce9e649e0a68bbf8
Cr-Commit-Position: refs/heads/master@{#11867}

Powered by Google App Engine
This is Rietveld 408576698